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
Thalers and Treasure Chests
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#9
RE: Thalers and Treasure Chests

(06-06-2013, 05:15 PM)TotalFragout Wrote: Thanks man. Rep+ for you.

But there's only 1 error that says "Unexpected end of file"
Below is my ending of the hps file

void ThalerAdd(string &in asEntity, string &in type)
{
if(GetLocalVarInt("ThalerCount") == 2)
{
SetSwingDoorLocked("Treasure_Chest", false, true);
}

If you wonder why because the first {.
void ThalerAdd(string &in asEntity, string &in type)
{ // first one does not have anything to close it }
if(GetLocalVarInt("ThalerCount") == 2)
{
SetSwingDoorLocked("Treasure_Chest", false, true);
} // And this one belongs to GetLocalVarInt
} // Closes the the bracket on the top.

Hope this explains it a bit to you.

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
06-07-2013, 02:30 PM
Website Find


Messages In This Thread
Thalers and Treasure Chests - by TotalFragout - 06-06-2013, 01:34 PM
RE: Thalers and Treasure Chests - by TotalFragout - 06-06-2013, 02:27 PM
RE: Thalers and Treasure Chests - by TotalFragout - 06-06-2013, 03:36 PM
RE: Thalers and Treasure Chests - by TotalFragout - 06-06-2013, 05:15 PM
RE: Thalers and Treasure Chests - by VeNoMzTeamHysterical - 06-07-2013, 02:30 PM



Users browsing this thread: 1 Guest(s)