The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
PLEEAASEE HELP?
AirmanerX Offline
Junior Member

Posts: 14
Threads: 3
Joined: May 2012
Reputation: 0
#1
PLEEAASEE HELP?

Alright, Hello.



I love playing custom stories, so I decided to make one. After making a room and a door. I made a key. Now, in my HPS file ther is this script:

Is there anything wrog with it?



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

// Run first time starting map

void OnStart ()

{



}



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

// Run when entering map

void OnEnter()

{ AddUseItemCallback("", "IronKey_1", "mansion_1", "KeyOnDoor",

true);



}



void KeyOnDoor(string &in asItem, string &in asEntity)



{



SetSwingDoorLocked("mansion_1"­, false, true); PlaySoundAtEntity("",

"unlock_door", "mansion_1", 1, false); RemoveItem("IronKey_1");



}

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

// Run when leaving map

voin OnLeave

{



}



Also,

When i put the Door_frame02, its invisible. If i click on it i can see the outline and i can move it.

*Note*



I also havent gotten to test my map since i cant start it because of the scripting problem

Error is like this

FATAL ERROR: Could not load script file 'custom_stories/AirmanerX Custom Story/maps/00_firsttryairmaner.hps'!
main (27,1) : ERR : Expected '('
Any help is GREATLY appreciated!
05-06-2012, 11:45 AM
Website Find


Messages In This Thread
PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 11:45 AM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 11:51 AM
RE: PLEEAASEE HELP? - by Rownbear - 05-06-2012, 11:57 AM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:19 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:20 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:23 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:29 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:33 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:38 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:39 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:42 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 12:45 PM
RE: PLEEAASEE HELP? - by Rownbear - 05-06-2012, 12:26 PM
RE: PLEEAASEE HELP? - by Xanthos - 05-06-2012, 12:47 PM
RE: PLEEAASEE HELP? - by Rownbear - 05-06-2012, 12:53 PM
RE: PLEEAASEE HELP? - by AirmanerX - 05-06-2012, 07:17 PM



Users browsing this thread: 1 Guest(s)