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
question about collides loops?
sabrinagsoledad Offline
Junior Member

Posts: 32
Threads: 10
Joined: Feb 2016
Reputation: 0
#4
RE: question about collides loops?

One thing... I read a guide in the wiki about Checkpoints using ScriptArea's, and the code i made from that guide is the next...

OnStart()
{
AddEntityCollideCallback("Player", "AreaOfDeep", "Drowned", false, 1);
}

void Drowned(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "impact_water_high3.snt", "Player", 0, false);
CheckPoint("Checkpoint1", "PlayerStartArea_1","", "DeathCategory", "Deathtext");
}

Yet now nothing hapens... I read on that guide that for the chekpoint is not necesary kill the player if I dont want the the sound and screen effects when the player dies.

On the lang file I have this

<CATEGORY Name="DeathCategory">
<Entry Name="Deathtext"> Avoid water </Entry>
</CATEGORY>

But now in the game nothing hapens neither once get teleport...
03-02-2016, 06:11 PM
Find


Messages In This Thread
RE: question about collides loops? - by Spelos - 03-01-2016, 05:40 PM
RE: question about collides loops? - by sabrinagsoledad - 03-02-2016, 06:11 PM
RE: question about collides loops? - by Spelos - 03-02-2016, 06:28 PM



Users browsing this thread: 1 Guest(s)