Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to reset scripts after player death?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: How to reset scripts after player death?

You want to look at using CheckPoints and resetting most of your functions through the Checkpoint callback at the end. Once you run through this code, you can designate things you would like to be reset using commands like ResetProp(string &in asProp) to return entities to their original positions.

Have a look at the following wiki article for more information Smile

https://wiki.frictionalgames.com/hpl2/tu...riptarea_s

Discord: Romulator#0001
[Image: 3f6f01a904.png]
04-11-2019, 01:54 AM
Find


Messages In This Thread
RE: How to reset scripts after player death? - by Romulator - 04-11-2019, 01:54 AM



Users browsing this thread: 1 Guest(s)