Hi!
I'm working on a project right now and my team is looking to create a timer based system for each "level" area. We're looking to have the first level take a maximum of 5 minutes for the player to complete and I was looking at scripting it this way:
Go to area properties and on entering the area set the current time to 0hours0minutes0seconds. On each heartbeat run a script that gets the current ingame hour and if this is greater then 5 then kill the player using the deathEffect. This is assuming that I set each minute to be one ingame hour in the module properties.
However when I actually do this nothing happens. I was wondering if I am going about this wrong?
Thanks!





Retour en haut






