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
How to make encounters?
sacroid Offline
Member

Posts: 88
Threads: 11
Joined: Apr 2010
Reputation: 0
#3
RE: How to make encounters?

Thank you very much! That was exactly what I was needing Wink
Also, in this way I'm kinda getting the thing of scripting, thanks again Big Grin
Now there's another problem, how to make waypoints Tongue
If I am not wrong, the waypoints are the Path Node Areas I think.

Now, if you don't mind, would you help me on scripting waypints and also despawning? (for example: the creature is created y searches you [waypoints] and the he goes away and despawns)
I would REALLY appreciate this. THANKS!

---
EDIT: By the way, I have tried the script and it doesn't seem to work.
Mine looks like this:
void OnStart()
{
    //Add a callback for when the player collides with the area you created and called MyRoomArea
    AddEntityCollideCallback("Player", "spawn_hallucination", "Collidespawn_hallucination", true, 0);
}

void OnEnter()
{
}

//This function is called when the player collides with the area called MyRoomArea
void spawn_hallucination(string &in asParent, string &in asChild, int alState)
{
    //Make the entity called "servant_grunt_1" active.
    //Change the servant_grunt_1 to whatever your enemy is called.
    SetEntityActive("Grunt_fake", true);
}
Wich is the problem there? I pass through that Script Area and nothing happens Tongue
09-15-2010, 06:26 AM
Find


Messages In This Thread
How to make encounters? - by sacroid - 09-15-2010, 12:40 AM
RE: How to make encounters? - by MulleDK19 - 09-15-2010, 02:53 AM
RE: How to make encounters? - by sacroid - 09-15-2010, 06:26 AM
RE: How to make encounters? - by theDARKW0LF - 09-15-2010, 08:08 AM
RE: How to make encounters? - by sacroid - 09-15-2010, 08:16 AM
RE: How to make encounters? - by jens - 09-15-2010, 08:21 AM
RE: How to make encounters? - by sacroid - 09-15-2010, 08:25 AM
RE: How to make encounters? - by sacroid - 09-15-2010, 02:21 PM
RE: How to make encounters? - by jens - 09-15-2010, 02:31 PM
RE: How to make encounters? - by sacroid - 09-15-2010, 02:41 PM
RE: How to make encounters? - by Tony32 - 01-12-2011, 02:46 PM
RE: How to make encounters? - by sacroid - 09-15-2010, 04:24 PM
RE: How to make encounters? - by jens - 09-15-2010, 05:01 PM
RE: How to make encounters? - by sacroid - 09-15-2010, 05:11 PM
RE: How to make encounters? - by Ethril - 01-12-2011, 07:53 AM
RE: How to make encounters? - by Neatherblade - 01-12-2011, 08:54 PM



Users browsing this thread: 1 Guest(s)