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
Call a function when pick up an item
RenanFOX2 Offline
Junior Member

Posts: 5
Threads: 2
Joined: Apr 2012
Reputation: 0
#5
RE: Call a function when pick up an item

(04-20-2012, 03:20 PM)SilentStriker Wrote: When creating an item in the level editor, select it and press the entity tab on the right, then in Callback func write the name of your function then in the .hps you write like this

void OnStart()
{

}

void NAMEOFFUNCTION(string &in asEntity, string &in asType)
{
//Stuff you want to happen
}
Thanks a lot!!!
It's working now XD
04-20-2012, 03:37 PM
Find


Messages In This Thread
RE: Call a function when pick up an item - by RenanFOX2 - 04-20-2012, 03:37 PM



Users browsing this thread: 1 Guest(s)