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:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script ERROR need help N00B
X4anco Offline
Member

Posts: 157
Threads: 66
Joined: Apr 2011
Reputation: 0
#1
Script ERROR need help N00B

Here is my script can you see any errors because the game thinks there is:

void OnStart ()
{
AddUseItemCallback ("", "Corridor Key", "door_1", "UsedkeyOnDoor", true);
}
void UsedKeyOnDoor (string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door_1", false, true);
playSoundAtEntity("", "unlock_door", "door_1", 0, false,);
RemoveItem("Corridor key");
}

I have done all the extra_english stuff :d

...
04-30-2011, 09:10 PM
Find


Messages In This Thread
Script ERROR need help N00B - by X4anco - 04-30-2011, 09:10 PM
RE: Script ERROR need help N00B - by NylePudding - 04-30-2011, 09:22 PM
RE: Script ERROR need help N00B - by Exostalker - 04-30-2011, 09:23 PM
RE: Script ERROR need help N00B - by X4anco - 04-30-2011, 09:27 PM
RE: Script ERROR need help N00B - by Kyle - 04-30-2011, 10:15 PM
RE: Script ERROR need help N00B - by X4anco - 04-30-2011, 11:00 PM
RE: Script ERROR need help N00B - by Tottel - 04-30-2011, 11:34 PM
RE: Script ERROR need help N00B - by Kyle - 04-30-2011, 11:56 PM
RE: Script ERROR need help N00B - by Simpanra - 04-30-2011, 11:49 PM
RE: Script ERROR need help N00B - by Karai16 - 05-01-2011, 01:03 AM
RE: Script ERROR need help N00B - by Kyle - 05-01-2011, 01:10 AM
RE: Script ERROR need help N00B - by Karai16 - 05-01-2011, 01:16 AM
RE: Script ERROR need help N00B - by NylePudding - 05-01-2011, 08:03 AM



Users browsing this thread: 1 Guest(s)