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 Help [FIRST SCRIPT] unexpected end of file
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#2
RE: [FIRST SCRIPT] unexpected end of file

Looks like you have an extra " at the end of one of your AddEntityCollideCallbacks. Try this.
void OnStart()
{
    AddEntityCollideCallback("Player", "RoomTwoArea", "CollideRoomTwo", true, 1);
    AddEntityCollideCallBack("Player", "RoomThreeArea", "CollideRoomThree", true, 1);
    AddUseItemCallback("", "key_study_1", "mansion_2", "UnlockDD", true);
    AddUseItemCallback("", "ceremony_knife_1", "work_desk_door_1", "UnlockDD", true);
    GiveItemFromFile("lantern", "lantern.ent");
    SetPlayerLampOil(100.0f);
}

(This post was last modified: 03-04-2012, 04:44 PM by Apjjm.)
03-04-2012, 04:43 PM
Find


Messages In This Thread
[FIRST SCRIPT] unexpected end of file - by Peldan - 03-04-2012, 04:10 PM
RE: [FIRST SCRIPT] unexpected end of file - by Apjjm - 03-04-2012, 04:43 PM



Users browsing this thread: 2 Guest(s)