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
hps file scripting errors *i need helpX|*
Bludsik Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jul 2013
Reputation: 0
#1
hps file scripting errors *i need helpX|*

I was able to fix most of the errors myself, (first time coding Undecided)
I'm really failing at this please someone helpDodgy

The error reads: FATAL ERROR: could not load script file (blah blah...)
main(6,1):ERR: Expected ',' or ';'
main(18,12):ERR: Expected identifier

Here is my current script in my .hps file...
void OnStart
(
AddUseItemCallback("", "key_1", "door_1", "FUNCTION", true)
)

void OnEnter()
(

)

void OnLeave()
(

)
void FUNCTION(string &in item, string &in door)
(
SetSwingDoorLocked("door_1", false);
RemoveItem("key_1");
07-29-2013, 06:18 PM
Find


Messages In This Thread
hps file scripting errors *i need helpX|* - by Bludsik - 07-29-2013, 06:18 PM



Users browsing this thread: 1 Guest(s)