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
How to use additementity and remove item?
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#3
RE: How to use additementity and remove item?

(05-15-2012, 01:40 PM)MissMarilynn Wrote: OH and could I use this to set an area active? How would I do that?
Inside Strepper's example function aptly named function, you can add:

if(asItem == "KeyThatActivatesArea")
{
AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates);
}

That will tell the engine to start looking for a collision between the player and the script area.

Dark Seclusion Here
(This post was last modified: 05-15-2012, 06:26 PM by FragdaddyXXL.)
05-15-2012, 06:25 PM
Find


Messages In This Thread
RE: How to use additementity and remove item? - by FragdaddyXXL - 05-15-2012, 06:25 PM



Users browsing this thread: 1 Guest(s)