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 please help!
plantum Offline
Junior Member

Posts: 4
Threads: 1
Joined: Jul 2011
Reputation: 0
#7
RE: Fatal error please help!

(07-11-2011, 10:13 AM)TheDavenia Wrote:
(07-10-2011, 11:12 PM)SLAMnesia Wrote: you're line """"void SetLevelDoorLocked(string& asName, bool abLocked)""""
is incorrect. you should change it to
void unlock_level_hub_1(string& asName, bool abLocked)

[EDIT]
the reason why its wrong (incase you are a learning type) is because you have the callback function at the beginning
void Onstart
{
AddUseItemCallback("", "key_tower_1", "level_hub_1", "unlock_level_hub_1", true);
}

isn't referenced correctly, so change it to what I put above and it should all smoothen out

Don't thank me, BLOW ME

Now i get this error:

FATAL ERROR: Could not load script file
'custom_stories/(secret)/maps/Bedroom.hps'!
main (38, 5) : ERR : No matching signatures to
'SetLevelDoorLocked(string@&, const bool, const bool)'
Undecided

Change "SetLevelDoorLocked("level_hub_1", false, true);"

to "SetLevelDoorLocked("level_hub_1", false);"
07-11-2011, 10:24 AM
Find


Messages In This Thread
Fatal error please help! - by TheDavenia - 07-10-2011, 08:47 PM
RE: Fatal error please help! - by Russ Money - 07-10-2011, 09:28 PM
RE: Fatal error please help! - by TheDavenia - 07-10-2011, 09:39 PM
RE: Fatal error please help! - by SLAMnesia - 07-10-2011, 11:12 PM
RE: Fatal error please help! - by PumpMaster - 07-10-2011, 11:14 PM
RE: Fatal error please help! - by TheDavenia - 07-11-2011, 10:13 AM
RE: Fatal error please help! - by plantum - 07-11-2011, 10:24 AM
RE: Fatal error please help! - by TheDavenia - 07-11-2011, 10:33 AM
RE: Fatal error please help! - by Roenlond - 07-11-2011, 10:39 AM
RE: Fatal error please help! - by TheDavenia - 07-11-2011, 10:47 AM



Users browsing this thread: 1 Guest(s)