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
main (8,9) : ERR :Expected identifer Fatal error
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: main (8,9) : ERR :Expected identifer Fatal error

And:



////////////////////////////

// Run when entering map

void OnEnter()

{

AddUseItemCallback("", "key_dungeon", "level_celler_1", UsedKeyOnDoor, true);

}



UsedKeyOnDoor(string &in asItem, string &in asEntity)

{

SetSwingDoorLocked("level_celler_1", false, true);

PlaySoundAtEntity("","unlock_door", "level_celler_1", 0, true);

RemoveItem("key_dungeon");

}

This should be right. Ctrl+C Ctrl+V it.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
11-13-2012, 10:06 PM
Find


Messages In This Thread
RE: main (8,9) : ERR :Expected identifer Fatal error - by The chaser - 11-13-2012, 10:06 PM



Users browsing this thread: 2 Guest(s)