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
Script issue
SLAMnesia Offline
Member

Posts: 99
Threads: 39
Joined: May 2011
Reputation: 0
#1
Script issue

void OnStart()
{
AddUseItemCallback("", "holywater", "ScriptArea_2", "HolyWaterFunc", true);
}

void HolyWaterFunc(string &in asItem, string &in asEntity)
{
SetEntityActive("bucketcharged", true);
RemoveItem("holywater");
SetEntityActive("ScriptArea_1", true);
}

I'm 99% sure the script is purrfectly fine, its mainly the item i'm using in the script: "holywater". I want to use it on a script area but "the combination doesn't work" so I'm wondering how I can bypass this. thanks
08-13-2011, 10:58 PM
Find


Messages In This Thread
Script issue - by SLAMnesia - 08-13-2011, 10:58 PM
RE: Script issue - by Kyle - 08-13-2011, 11:11 PM
RE: Script issue - by Tesseract - 08-14-2011, 02:10 AM
RE: Script issue - by Rownbear - 08-14-2011, 12:31 PM
RE: Script issue - by Tesseract - 08-15-2011, 01:37 AM



Users browsing this thread: 1 Guest(s)