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
Fatal error could not load script file
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#3
RE: Fatal error could not load script file

(04-14-2013, 03:27 PM)TheKaci1234 Wrote: Hi im new in scripting i got an error:
FATAL ERROR: Could not load script file
'custom_stories/domek/maps/domek.hps'!
main (3, 19) : ERR : Expected ';'


My script file:
void OnEnter()
{
AddUseItemCallback("", "kluczdodrzwi_1", "drzwi", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("drzwi", false, true);
PlaySoundAtEntity("", "unlock_door", "drzwi", 0, false);
RemoveItem("kluczdodrzwi_1");
}




I hope someone can help.
(Sorry for bad english im polish)

Fixed.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 04-14-2013, 06:02 PM by The chaser.)
04-14-2013, 06:02 PM
Find


Messages In This Thread
RE: Fatal error could not load script file - by The chaser - 04-14-2013, 06:02 PM



Users browsing this thread: 1 Guest(s)