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
Need to fix my script
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#3
RE: Need to fix my script

ok, you only need to call 1 Collision area

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptAreaCorpsespawn", "SpawnCorpse1", true, 1);

}

void SpawnCorpse1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("corpse1", true);
SetEntityActive("corpse2", true);
SetEntityActive("corpse3", true);
}




And you probably want the Red text to be true(to remove the function after its been used once)


Im guessing thats also custom music, i dont recognize it, but the body spawns should do the trick now.

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
01-21-2012, 05:10 PM
Find


Messages In This Thread
Need to fix my script - by djwhatkid - 01-21-2012, 05:06 PM
RE: Need to fix my script - by flamez3 - 01-21-2012, 05:09 PM
RE: Need to fix my script - by Tripication - 01-21-2012, 05:10 PM
RE: Need to fix my script - by djwhatkid - 01-21-2012, 05:25 PM
RE: Need to fix my script - by Tripication - 01-21-2012, 05:33 PM



Users browsing this thread: 1 Guest(s)