Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Teleporting naked guys HELP!!
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#5
RE: Teleporting naked guys HELP!!

I can't refuse this... ugh i'm a good person.







void OnStart ()
{
SetEntityPlayerInteractCallback("item", TeleportNakedGuyFunc, true); //name the "item" with the name of your item in the map
}

void TeleportNakedGuyFunc (string &in asEntity)
{
SetEntityActive ("NakedGuy", true); // name the "NakedGuy" as the ragdoll corpse entity in the map
AddPropForce(NakedGuy"", 0, 0, 0, "world"); // if you want it to fly in some direction. Try different values over the zero's.
PlaySoundAtEntity("", "24_iron_maiden.snt", "Player", 0, true);
}



Just don't go around posting this custom story here.. this is what you have to do in return that i've helped you.

Hi.
(This post was last modified: 06-11-2012, 06:23 PM by MaZiCUT.)
06-11-2012, 06:22 PM
Website Find


Messages In This Thread
Teleporting naked guys HELP!! - by elias190 - 06-11-2012, 05:59 PM
RE: Teleporting naked guys HELP!! - by MaZiCUT - 06-11-2012, 06:13 PM
RE: Teleporting naked guys HELP!! - by Datguy5 - 06-11-2012, 06:17 PM
RE: Teleporting naked guys HELP!! - by MaZiCUT - 06-11-2012, 06:22 PM
RE: Teleporting naked guys HELP!! - by elias190 - 06-11-2012, 06:41 PM
RE: Teleporting naked guys HELP!! - by Nice - 06-11-2012, 08:05 PM
RE: Teleporting naked guys HELP!! - by MaZiCUT - 06-11-2012, 08:16 PM
RE: Teleporting naked guys HELP!! - by Damascus - 06-11-2012, 09:07 PM
RE: Teleporting naked guys HELP!! - by MaZiCUT - 06-11-2012, 09:09 PM
RE: Teleporting naked guys HELP!! - by palistov - 06-12-2012, 08:36 AM
RE: Teleporting naked guys HELP!! - by Dutton - 06-12-2012, 08:57 AM



Users browsing this thread: 1 Guest(s)