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 do so Grunts poofs
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#2
RE: How to do so Grunts poofs

Teleporting naked guy:


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);
}




And for the grunt poof you'll have to set him active/inactive in a script, and if you mean by just poof and never come back just make it a hallucination.

Hi.
(This post was last modified: 06-12-2012, 02:18 PM by MaZiCUT.)
06-12-2012, 02:18 PM
Website Find


Messages In This Thread
How to do so Grunts poofs - by putty992 - 06-12-2012, 02:12 PM
RE: How to do so Grunts poofs - by MaZiCUT - 06-12-2012, 02:18 PM
RE: How to do so Grunts poofs - by Nice - 06-12-2012, 02:20 PM
RE: How to do so Grunts poofs - by MaZiCUT - 06-12-2012, 02:21 PM
RE: How to do so Grunts poofs - by putty992 - 06-12-2012, 03:35 PM
RE: How to do so Grunts poofs - by Adny - 06-12-2012, 03:51 PM
RE: How to do so Grunts poofs - by Datguy5 - 06-12-2012, 06:51 PM
RE: How to do so Grunts poofs - by putty992 - 06-12-2012, 07:08 PM
RE: How to do so Grunts poofs - by Datguy5 - 06-12-2012, 07:11 PM
RE: How to do so Grunts poofs - by putty992 - 06-12-2012, 08:59 PM
RE: How to do so Grunts poofs - by imgoneimdead - 06-12-2012, 09:02 PM
RE: How to do so Grunts poofs - by Datguy5 - 06-12-2012, 09:03 PM
RE: How to do so Grunts poofs - by putty992 - 06-12-2012, 09:09 PM
RE: How to do so Grunts poofs - by Datguy5 - 06-12-2012, 09:43 PM
RE: How to do so Grunts poofs - by Your Computer - 06-12-2012, 09:52 PM
RE: How to do so Grunts poofs - by Adny - 06-12-2012, 10:06 PM
RE: How to do so Grunts poofs - by Your Computer - 06-12-2012, 10:13 PM



Users browsing this thread: 1 Guest(s)