[SCRIPT] Script - 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: [SCRIPT] Script (/thread-21508.html) |
Script - Rakez68 - 05-16-2013 Hey guys! I need a little help on a script that sounds simple but I can't figure it out. I have a obstacle in my map, to which the player can die several times. So I fall down in a room, and after 10 seconds the player dies, and teleports him to PlayerStartArea_3. I have checkpoint that after the player dies, it enables the script area again, making the player die every time he falls down in the room. On the bottom of the room there is the script area, and when you collide with it, it would start the 10second timer again and kill the player. But it doesn't start the effect again after death. So I wan't the player to die every time he falls in the room. Sorry for my bad English. Thanks RE: Script - Solarflaire - 05-16-2013 (05-16-2013, 12:41 PM)Rakez68 Wrote: Hey guys! Change the Boolean to false AddEntityCollideCallback("", "", "", false, 1); RE: Script - Romulator - 05-16-2013 (05-16-2013, 12:48 PM)Grumpyrog Wrote: Change the Boolean to false The one in which has to do with the player colliding with the script at the bottom of the hole which enables the timer RE: Script - Rakez68 - 05-16-2013 Mother of god, I feel so dumb Thanks RE: Script - Romulator - 05-16-2013 Don't feel dumb We all just want to help. If you have questions, just go ahead and ask! |