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


Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jens! Could you reveal more HPL2 triggers?
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#3
RE: Jens! Could you reveal more HPL2 triggers?

o.o Hmm, it looks to me that the item that is being picked up is being set to the global string var, not the type.

But the "asType" parameter is just set to the type of interaction that the player had with the object - similar to the "alState" parameter from the AddEntityCollideCallback function. It's useful in some circumstances, if you want to do something like
PHP Code: (Select All)
if(asType == "onIgnite") { /*Do stuff*/ 
and so you would be able to do certain things depending on what the player does with a certain object (in this case, if the player ignites the object, a certain action or set of actions are called).

(This post was last modified: 05-07-2012, 06:34 AM by Homicide13.)
05-07-2012, 06:33 AM
Find


Messages In This Thread
RE: Jens! Could you reveal more HPL2 triggers? - by Homicide13 - 05-07-2012, 06:33 AM



Users browsing this thread: 1 Guest(s)