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
Script Help Any way to temporarily enable "God Mode"/Immune to damage?
Cyfiawn Offline
Junior Member

Posts: 27
Threads: 8
Joined: Jun 2012
Reputation: 0
#7
RE: Any way to temporarily enable "God Mode"/Immune to damage?

(03-07-2013, 12:33 PM)Kreekakon Wrote: Well, in that case, I can't think of any way you'd be able to do that normally without a full conversion.

There are two ways to solve this if your level allows it though:
1. Design the level so that no heights will allow for fall damage to happen.
2. Teleport the player to a safe place if he is falling from a height that will cause fall damage to happen.

Neither of these are really an option, unfortunately. I'll have to go with a SetPlayerHealth(100) on a loop to trigger every 0.5 seconds, or so.


Thanks for the replies, though. Appreciate it. Smile

Cyfiawn
03-07-2013, 01:47 PM
Find


Messages In This Thread
RE: Any way to temporarily enable "God Mode"/Immune to damage? - by Cyfiawn - 03-07-2013, 01:47 PM



Users browsing this thread: 1 Guest(s)