Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bucket to fill with acid ?!
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#8
RE: Bucket to fill with acid ?!

You have no callback for it. Nothing will happen if you don't tell the script what to do. Right now you have made a check for when you use "Bucket" on "AcidArea" and you have named the callback "Bucket" but there is no "Bucket" callback to be found.

What you need is something like this:

PHP Code: (Select All)
void Bucket(string &in asItemstring &in asEntity)
{
    
//Whatever scripts you want to happen here.


Inside this you need to add the scripts that will happen as you use the bucket on the acid area. Do you want to play particle effects? Use timers? Fill the bucket by replacing the empty one with one that is filled? Place those scripts in there.

08-19-2014, 07:55 PM
Find


Messages In This Thread
Bucket to fill with acid ?! - by Amnesiaplayer - 08-19-2014, 02:46 PM
RE: Bucket to fill with acid ?! - by burge4150 - 08-19-2014, 03:06 PM
RE: Bucket to fill with acid ?! - by Rector - 08-19-2014, 03:13 PM
RE: Bucket to fill with acid ?! - by Mudbill - 08-19-2014, 05:36 PM
RE: Bucket to fill with acid ?! - by Rector - 08-19-2014, 08:22 PM
RE: Bucket to fill with acid ?! - by Mudbill - 08-19-2014, 07:44 PM
RE: Bucket to fill with acid ?! - by Mudbill - 08-19-2014, 07:55 PM
RE: Bucket to fill with acid ?! - by Mudbill - 08-19-2014, 08:20 PM
RE: Bucket to fill with acid ?! - by Mudbill - 08-19-2014, 10:21 PM
RE: Bucket to fill with acid ?! - by burge4150 - 08-20-2014, 04:45 AM
RE: Bucket to fill with acid ?! - by Mudbill - 08-20-2014, 04:50 AM
RE: Bucket to fill with acid ?! - by Slanderous - 08-20-2014, 02:31 PM



Users browsing this thread: 1 Guest(s)