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
script error! help me!
skirnks017 Offline
Junior Member

Posts: 17
Threads: 11
Joined: Mar 2012
Reputation: 0
#6
RE: script error! help me!

(04-12-2012, 11:29 PM)DRedshot Wrote: Unexpected end of file means there is a '}' missing somewhere. Look all the way through your code again, make sure every open bracket ends with a close bracket.
Gracias! Faltaba un corchete("}") en void start Big Grin

void OnStart()

{

AddEntityCollideCallback("Player", "PlayerStartArea_1", "Reset", true, 1);

SetEntityPlayerInteractCallback("lantern_1", "ActivateMonster", true);

AddEntityCollideCallback("Player", "ScriptArea_1", "ApareceMounstruo", true, 0);

AddEntityCollideCallback("Player", "Scary_Area_2", "Scary_2", true, 1);

AddEntityCollideCallback("Player", "Music", "StartMusic", true, 1);

SetEntityPlayerInteractCallback("music", "Roar2", true);

SetEntityPlayerInteractCallback("music", "Roar1", true);

AddUseItemCallback("", "llave1", "puerta1", "KeyOnDoor", true); //Puerta1

AddUseItemCallback("", "llave3", "puerta3", "KeyOnDoor3", true); //Puerta3
}
04-12-2012, 11:37 PM
Find


Messages In This Thread
script error! help me! - by skirnks017 - 04-12-2012, 10:53 PM
RE: script error! help me! - by Strembitsky - 04-12-2012, 11:06 PM
RE: script error! help me! - by skirnks017 - 04-12-2012, 11:13 PM
RE: script error! help me! - by Strembitsky - 04-12-2012, 11:20 PM
RE: script error! help me! - by DRedshot - 04-12-2012, 11:29 PM
RE: script error! help me! - by skirnks017 - 04-12-2012, 11:37 PM



Users browsing this thread: 2 Guest(s)