Author Topic: Event Help: How could I make a auto start event?  (Read 1089 times)

That's easy.

You can't automatically load a variable (unless you're me :cookieMonster:)

Just check if the variable is null, and if so, set it to 40.
Code: [Select]
[X] 0 [0] onActivate -> Self -> VCE_ifVariable -> [Health] == [ ] [1 1]
[X] 1 [0] onVariableTrue -> Self -> VCE_modVariable -> [Health] set [40]

I recommended the exact same thing and he said no. ;-;

the problem here is that he wants the easy way out - while he could learn a lot more if he did it a different way, and it would accomplish the same thing.

the problem here is that he wants the easy way out - while he could learn a lot more if he did it a different way, and it would accomplish the same thing.
I know a alot more complicated way, but it's alot quicker if I could do something else, I have been using variables for a year now.

I know a alot more complicated way, but it's alot quicker if I could do something else, I have been using variables for a year now.

then use this 'complicated way' and just copy the events to every tree or use the duplicator

simple

That's easy.

You can't automatically load a variable (unless you're me :cookieMonster:)

Just check if the variable is null, and if so, set it to 40.
Code: [Select]
[X] 0 [0] onActivate -> Self -> VCE_ifVariable -> [Health] == [ ] [1 1]
[X] 1 [0] onVariableTrue -> Self -> VCE_modVariable -> [Health] set [40]
Or me.
Have each brick that you want to reset to have a name.
Then have a bot that has the event onBotSpawn that sets all of the namedBricks variables.