Page 1 of 2

how to make multiple events before an action

Posted: Sat Mar 19, 2011 12:57 pm
by SHiNNiNG_FaiTH
im trying to make it so a unit has to enter a few regions before making the tile path diffrent/safe for the player to cross. how can i do this?

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 12:59 pm
by 3ICE
Variables

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 1:02 pm
by SHiNNiNG_FaiTH
3ICE wrote:Variables
so like a unit enters x x x x then?
im not sure how to set thats why i bother you so much =\
EDIT: i dont know anything about variables exept from what i have learned from your wisp spin tutorial. (point real and units thats it)

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 1:11 pm
by 3ICE
one one
t_eve Unit enters region 1 t_set set unit_entered_region_1=true t_act run checker
two two
t_eve Unit enters region 2 t_set set unit_entered_region_2=true t_act run checker
three three
t_eve Unit enters region 3 t_set set unit_entered_region_3=true t_act run checker
checker checker
t_if if unit_entered_region_1 and unit_entered_region_2 and unit_entered_region_3 then t_com Done.

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 1:12 pm
by SHiNNiNG_FaiTH
tyvm<3 =D

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 1:15 pm
by SHiNNiNG_FaiTH
uh oh how did u do the third part in your trigger? the action.
im stuck on the =true part =\ cant find true

EDIT: i cant figure out how i make the variable true and im not sure how to make the last trigger you had posted either =\

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 1:38 pm
by SHiNNiNG_FaiTH
OH never mind i am sorry i just figured it out XD ha! thank you very much 3ICE

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 1:40 pm
by 3ICE
Tripleposting makes me sad. Learn to edit your posts.

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 1:47 pm
by SHiNNiNG_FaiTH
im sorry v.v

how come this is making me crash?
help me 3ICE!.png
help me 3ICE!.png (7.93 KiB) Viewed 8327 times

Re: how to make multiple events before an action

Posted: Sat Mar 19, 2011 1:50 pm
by 3ICE
Infinite loop.