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
ERR : Expected ";"
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#4
RE: ERR : Expected ";"

(06-01-2014, 02:42 PM)Zizilon Wrote: void OnStart()
{
PlayMusic("introtheme.ogg", true, 0.9, 1.0, 1, true)
AddUseItemCallback("", "Key", "Door_2", "UseKeyOnDoor", true);
AddEntityCollideCallback("Player", "Walk_Quest_Area", "GetWalkQuest", true, 1);
AddEntityCollideCallback("Player", "Walk_Quest_Area2", "GetWalkQuest2", true, 1);
AddEntityCollideCallback("Player", "TeleportScript", "NailThatSucker", true, 1);
}

As informed in the headline a ";" is expected, but at the end of PlayMusic you forgot to add one. so:
(06-01-2014, 02:42 PM)Zizilon/TheMug Wrote: PlayMusic("introtheme.ogg", true, 0.9, 1.0, 1, true);
06-03-2014, 02:48 PM
Find


Messages In This Thread
ERR : Expected ";" - by Zizilon - 06-01-2014, 02:42 PM
RE: ERR : Expected ";" - by Neelke - 06-01-2014, 03:35 PM
RE: ERR : Expected ";" - by The chaser - 06-02-2014, 07:40 PM
RE: ERR : Expected ";" - by WALP - 06-03-2014, 02:48 PM
RE: ERR : Expected ";" - by eliasfrost - 06-03-2014, 02:58 PM
RE: ERR : Expected ";" - by Romulator - 06-03-2014, 03:29 PM
RE: ERR : Expected ";" - by eliasfrost - 06-03-2014, 03:38 PM



Users browsing this thread: 1 Guest(s)