![]() |
Explosion Script Problem - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Explosion Script Problem (/thread-22049.html) |
Explosion Script Problem - phatdoggi - 07-07-2013 I have searched and experimented high and low, but this script got the better of me. I have an epoxy container (entity:"ready") and I want to throw a rock at it to make a nice explosion to clear some debris. The only problem is the collision callback. I have 3 rocks to use, and I added a collision callback to the container for each of them, but the game still won't run the callback. All that happens is the container fizzles silently and disappears. Any help is appreciated. Code: void interactDoor(string &in asEntity) RE: Explosion Script Problem - phatdoggi - 07-07-2013 FIXED. Used a OnIgnite Callback called in the MAP, not the SCRIPT. *facepalm* For those of you with the same problem, put your callback name in the "Callback" under the entity tab on your object you want interacted (or in this case ignited). Thanks for the moral support, people. ![]() RE: Explosion Script Problem - Artyom - 07-07-2013 (07-07-2013, 02:30 AM)phatdoggi Wrote: FIXED. Good job sorting it out ![]() |