I'm a bit rusty in creating custom stories, I've just returned to doing it because of a project in school. I'm trying to create a script area where the lights throughout the building becomes lit, in a sequence. My problem is that nothing happens when the player enters the script area, it won't even activate the first torch.
You're missing the callback declaration inside OnStart
I'm guessing you want one for that TorchOnSchool function with those parameters, so you need a collide callback. If I'm not mistaken it's AddEntityCollideCallback ( parent, child, function, deleteOnUse, state );
Just check the wiki. got the link?
I'm guessing you want one for that TorchOnSchool function with those parameters, so you need a collide callback. If I'm not mistaken it's AddEntityCollideCallback ( parent, child, function, deleteOnUse, state );
Just check the wiki. got the link?
Yeah I have the link to the wiki and I found the function you're referring to, i'm going to try it out tomorrow, thanks for the help! :-)