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
Code not working for no apparent reason!
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#5
RE: Code not working for no apparent reason!

(02-07-2014, 06:16 PM)The Mug Wrote: AddEntityCollideCallback("Player","CollideOpeningDustDoor","[INSERT THE NAME OF THE AREA YOU WANT THE PLAYER TO COLLIDE WITH HERE!]",true,1);

put this in OnStart() and Add the name of the script area as instructed above.
I think you might've switched the 2nd and 3rd parameter around

AddEntityCollideCallback("Entity1", "Entity2", "FunctionCallback", true, 1);

(This post was last modified: 02-07-2014, 06:35 PM by Mudbill.)
02-07-2014, 06:34 PM
Find


Messages In This Thread
RE: Code not working for no apparent reason! - by Mudbill - 02-07-2014, 06:34 PM



Users browsing this thread: 1 Guest(s)