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
Area Scripts
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#2
RE: Area Scripts

Ok, I do not exactly understand what you said.. and I'm just going to assume there's something wrong with the script without translating.
I'm guessing you want those grunts to appear when the player collides with an area.
In that case, you must use a custom function that is called when the player collides with the area.

Add an extra parameter to your
AddEntityCollideCallback("Player" , "ScriptArea_1" , true , 1);
that defines the name of that function; then put those 3 SetEntityActive lines in that function, since right now, they don't belong to any.
01-08-2011, 10:44 PM
Find


Messages In This Thread
Area Scripts - by sassix - 01-08-2011, 10:39 PM
RE: Area Scripts - by Tottel - 01-08-2011, 10:44 PM
RE: Area Scripts - by sassix - 01-08-2011, 10:53 PM
RE: Area Scripts - by Tottel - 01-08-2011, 10:58 PM
RE: Area Scripts - by sassix - 01-08-2011, 11:04 PM
RE: Area Scripts - by Russ Money - 01-08-2011, 11:37 PM
RE: Area Scripts - by sassix - 01-08-2011, 11:46 PM



Users browsing this thread: 1 Guest(s)