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 do you reset items after death?
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#4
RE: How do you reset items after death?

For the "CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);" --- When it calls the function on death/respawn, have it do some bool checks.

Try a "bool HasItem(string& asName);" --- If false, give the specific item you want. If they already have it, do nothing.

Hope that helps.
06-07-2012, 03:06 PM
Find


Messages In This Thread
How do you reset items after death? - by GrAVit - 06-07-2012, 02:36 PM
RE: How do you reset items after death? - by Rapture - 06-07-2012, 03:06 PM



Users browsing this thread: 1 Guest(s)