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
Teleporting items & Vaporizing items
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#7
RE: Teleporting items & Vaporizing items

void OnStart()
{
for(int p=1;p<100;p++) AddEntityCollideCallback("hammer_"+p, "AREA", "VAPORIZING", false, 1);
for(int p=1;p<100;p++) AddEntityCollideCallback("box_"+p, "AREA", "VAPORIZING", false, 1);
for(int p=1;p<100;p++) AddEntityCollideCallback("longbox_"+p, "AREA", "VAPORIZING", false, 1);
}

void VAPORIZING(string &in asParent, string &in asChild, int alState)
{
CreateParticleSystemAtEntity("", "ps_dust_impact.ps", asParent, false);
SetPropActiveAndFade(asParent, false, 1);
PlayGuiSound("ui_fire_damage", 4);
}

Trying is the first step to success.
(This post was last modified: 10-21-2012, 05:27 PM by FlawlessHappiness.)
10-21-2012, 05:23 PM
Find


Messages In This Thread
Teleporting items & Vaporizing items - by ZodiaC - 10-21-2012, 01:46 AM
RE: Teleporting items & Vaporizing items - by FlawlessHappiness - 10-21-2012, 05:23 PM



Users browsing this thread: 1 Guest(s)