How can I measure the time that has elapsed DURING a landscene?
What I would like to do is make a weapon that stuns characters for a certain time, so i need to measure the time when the character was knocked out in order to reanimate him some time later.
The time attributes that i have found - environment.time and worldmap.time - always have the same value during the whole landscene. Only if you load another location does the time "jump" on.
Can anyone help ?
What I would like to do is make a weapon that stuns characters for a certain time, so i need to measure the time when the character was knocked out in order to reanimate him some time later.
The time attributes that i have found - environment.time and worldmap.time - always have the same value during the whole landscene. Only if you load another location does the time "jump" on.
Can anyone help ?