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 Function doesn't get called after interaction
EXAWOLT Offline
Member

Posts: 113
Threads: 14
Joined: Apr 2012
Reputation: 3
#3
RE: Function doesn't get called after interaction

////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "knife", "floor", "sleep", true);
}

void sleep(string &in asItem, string &in asEntity)
{
(write the scripts that you want to call here)
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

simply nuff said




(This post was last modified: 08-05-2012, 10:50 AM by EXAWOLT.)
08-05-2012, 10:49 AM
Find


Messages In This Thread
RE: Function doesn't get called after interaction - by EXAWOLT - 08-05-2012, 10:49 AM



Users browsing this thread: 1 Guest(s)