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 Make An Object Fly Once I Trigger It?
Alroc Offline
Junior Member

Posts: 24
Threads: 4
Joined: Sep 2010
Reputation: 0
#15
RE: How To Make An Object Fly Once I Trigger It?

For me it does not work at all. The debugMessage dont show up and the vase is not flying Sad

here is my script:

My prop is named "Vase_01" and my area is "AreaFly01"

OnStart{
AddEntityCollideCallback("Player", "AreaFly01", "CollideAreaFly01", true, 1);
}

void CollideAreaFly01(string &in asParent, string &in asChild, int alState)
{
AddDebugMessage("Test 1-2 1-2 Flying object and ... action", false);
AddPropImpulse("Vase_01", 100.0f, 3.0f, 100.0f, "world");
}

i put strong value in case de weight of the prop has an influence

Sorry for my english (i'm french Smile )
09-18-2010, 12:40 AM
Find


Messages In This Thread
RE: How To Make An Object Fly Once I Trigger It? - by Alroc - 09-18-2010, 12:40 AM



Users browsing this thread: 1 Guest(s)