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
question about collides loops?
Spelos Away
Banned

Posts: 231
Threads: 19
Joined: Sep 2014
#2
RE: question about collides loops?

Quote:AddEntityCollideCallback("Player", "Area", "CollisionFunc", false, 1);

The false means the callback will NOT be deleted when Player touches the area.

PHP Code: (Select All)
void OnStart()
{
    
AddEntityCollideCallback("Player""Area""CollisionFunc"false1);
}

void CollisionFunc(string &in asParentstring &in asChildint alState
{
    
TeleportPlayer("PositionName");

03-01-2016, 05:40 PM
Find


Messages In This Thread
RE: question about collides loops? - by Spelos - 03-01-2016, 05:40 PM
RE: question about collides loops? - by Spelos - 03-02-2016, 06:28 PM



Users browsing this thread: 5 Guest(s)