Forum

> > Stranded II > Scripts > Override Attack2 Build Event
Forums overviewStranded II overview Scripts overviewLog in to reply

English Override Attack2 Build Event

1 reply
To the start Previous 1 Next To the start

old Override Attack2 Build Event

Kabbotta
User Off Offline

Quote
Is it possible using a script to override the whole process of storing items in the building location? The reason I want to do this is because I have a completely different process to build. I have tried using a couple different versions of skipevent and have had no luck.

old Re: Override Attack2 Build Event

Corvallis5
User Off Offline

Quote
well yes, but it would be a heckload of work. It would be better if u edited the Stranded II source code. But if u totally got rid of the buildings.inf then u could make some object and its script would be like, excuse me not writing the exact code, but I hope this will deliver my message.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
on:hit {
playergotrightweapons {
player got leaf? {
$leaf=1
}
player got branch? {
$branch=1;
}
}

then set a timer 

on:timer {
all variables equal right number?{
record x and z coordinates;
delete the building;
create new object in the same coordinates;
}
}
hopefully this helps!
edited 1×, last 06.03.12 04:25:08 am
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview