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
Unexpected end of file
LulleBulle Offline
Member

Posts: 101
Threads: 33
Joined: Feb 2012
Reputation: 0
#1
Unexpected end of file

I'm having a slight problem. My script code in my .hps file is working perfect and the map works but when I add the following:

on void OnStart() i add AddEntityCollideCallback("CloseDoor", "Player", DoorClose", true, 1);

and then I add

void DoorClose(correct syntax)
{
SetSwingDoorClosed("mansion_2", true, false);
}


and for some reason I get unexpected end of line, why is this?
06-25-2012, 05:45 PM
Find


Messages In This Thread
Unexpected end of file - by LulleBulle - 06-25-2012, 05:45 PM
RE: Unexpected end of file - by MaZiCUT - 06-25-2012, 05:50 PM
RE: Unexpected end of file - by Cruzore - 06-25-2012, 05:51 PM



Users browsing this thread: 2 Guest(s)