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
Help with monster activation[SOLVED]
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#5
RE: Help with monster activation

Collide means that the two entities literally collide, as in, physically touch. Picking up the crowbar doesn't count as collision. You'll need a interact callback. Select the crowbar in the editor, and find the callback field. Write CrowbarPickUp. Then, in your script, put a function:

void CrowbarPickUp(string &in entity, string &in type)
{
//grunt stuff here.
}

That should do the trick.

(This post was last modified: 04-14-2011, 02:16 AM by palistov.)
04-14-2011, 02:12 AM
Find


Messages In This Thread
RE: Help with monster activation - by Kraggdog - 04-13-2011, 07:16 PM
RE: Help with monster activation - by Rownbear - 04-13-2011, 07:20 PM
RE: Help with monster activation - by palistov - 04-14-2011, 02:12 AM
RE: Help with monster activation - by Rownbear - 04-14-2011, 09:32 AM



Users browsing this thread: 1 Guest(s)