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 Can inventory.hps trigger a script in a map?
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#3
RE: Can inventory.hps trigger a script in a map?

You could run a timer (I would have it enabled only when the player has the required items to help performance and keep it cleans.) that does a check for the combined item. If it's true, execute your code.

For the second part, you can have another bool item check and replace it with another replicate dummy one. Although it might seem stupid if it's noticed that it works on one map but not another. Might want to have another stationary ingredient/step in the correct map added.
10-08-2012, 02:02 AM
Find


Messages In This Thread
RE: Can inventory.hps trigger a script in a map? - by Rapture - 10-08-2012, 02:02 AM



Users browsing this thread: 1 Guest(s)