giggles
12-03-2009, 05:18 PM
Good Afternoon,
I am currently working on a project that requires checkpoint-esque behavior.
The level has multiple floors, and whenever the player dies, they have to go back to the very top, I'd like them to respawn in the same level.
My guess for implementing this would be a trigger volume that triggers whenever they goto the next floor (there is only one way to each level so this would work) and sets a variable to that floor. Then, whenever they die spawn at the associated spawnpoint with that variable.
I don't have much experience with unrealscript so I am not sure where to start, but I do know how to code so maybe some snippets or some hints or a basic rundown, heck anything to help me start this would be very helpful!
Thanks in advance :)
I am currently working on a project that requires checkpoint-esque behavior.
The level has multiple floors, and whenever the player dies, they have to go back to the very top, I'd like them to respawn in the same level.
My guess for implementing this would be a trigger volume that triggers whenever they goto the next floor (there is only one way to each level so this would work) and sets a variable to that floor. Then, whenever they die spawn at the associated spawnpoint with that variable.
I don't have much experience with unrealscript so I am not sure where to start, but I do know how to code so maybe some snippets or some hints or a basic rundown, heck anything to help me start this would be very helpful!
Thanks in advance :)