Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help with scripting! SCRIPT INSIDE
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#7
RE: I need help with scripting! SCRIPT INSIDE

I actually thank you for trying, but im going over other things, because i got so many problems, and its a night, (im scaring myself)
(04-22-2011, 11:50 AM)Tottel Wrote: If you actually read that post, then you would have seen

AddEntityCollideCallback ("Player", "ScriptArea_1", "MonsterFunc1", true, 1);

is placed inside the Onstart() function.
And MonsterFunc1 is the name of a function. The name does not matter at all, as long as it's clear to the scripter.

Now, what happens is this: You add a colideCallback, which triggers when the player walks into a ScriptArea (ScriptArea_1 in the level editor). When that happens, the function is triggered. In this case, when you walk into an area, a Grunt goes active.

actually i do need your help,
i keep getting this message and i don't know what?

AddUseItemCallback("""R01_Key1", "cabinet_metal_1", "KeyOnDoor", true);

Just after the ADDUSEITEMCALLBACK there is a expected identifier, i have deleted the brackets and added them, it doesn't say anywhere in the tut?
(This post was last modified: 04-22-2011, 12:14 PM by flamez3.)
04-22-2011, 12:12 PM
Find


Messages In This Thread
RE: I need help with scripting! - by Dalroc - 04-22-2011, 11:05 AM
RE: I need help with scripting! - by flamez3 - 04-22-2011, 11:11 AM
RE: I need help with scripting! SCRIPT INSIDE - by flamez3 - 04-22-2011, 12:12 PM



Users browsing this thread: 1 Guest(s)