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
What script do i need??
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#1
What script do i need??

what script do i need to
combine an Empty bucket with a acid container (with area into it.) ?!
i'm really doing everything but nothing is working ??! my script look like this

PHP Code: (Select All)
void OnStart()
{
SetEntityPlayerInteractCallback("note3", "ShowSteve", false);
AddUseItemCallback("", "Acidkey", "Aciddoor", "UsedKeyOnDoor", true);
AddUseItemCallback("", "AcidBucket", "Slijm", "UseAcidOnWeb", true);
AddUseItemCallback("", "Bucket", "AcidArea", "Puzzle", true);
PlayMusic("12_amb", true, 0.7f, 1, 0, false);
}

void ShowSteve(string &in asEntity)
{
SetEntityActive("Cellarsteve", true);
ShowEnemyPlayerPosition("Cellarsteve");
} 

void UsedKeyOnDoor (string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Aciddoor", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "Aciddoor", 0, false);
RemoveItem("Acidkey");
}

void Bucket(string &in asItem, string &in asEntity)
{
SetEntityActive("AcidBucket", true);
} 

void UseAcidOnWeb(string &in asItem, string &in asEntity)
{
SetPropHealth("Slijm", 0);
RemoveItem("AcidBucket");
GiveItemFromFile("empty_container", "chemical_container.ent");
GiveSanityBoost();
PlayMusic("02_puzzle", false, 1, 0.1f, 10, false);
} 

i really don't know what to do... and yes bucket name is Bucket and acid area is AcidArea
08-20-2014, 02:35 PM
Find


Messages In This Thread
What script do i need?? - by Amnesiaplayer - 08-20-2014, 02:35 PM
RE: What script do i need?? - by Slanderous - 08-20-2014, 02:58 PM
RE: What script do i need?? - by Amnesiaplayer - 08-20-2014, 03:11 PM
RE: What script do i need?? - by Slanderous - 08-20-2014, 03:24 PM
RE: What script do i need?? - by Amnesiaplayer - 08-20-2014, 03:29 PM



Users browsing this thread: 1 Guest(s)