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
#10
RE: Bucket to fill with acid ?!

Firstly, you probably want to do
PHP Code: (Select All)
RemoveItem(asItem); 

inside your callback. After that, if you wish, you can use SetEntityActive to enable a static bucket entity on the floor where you want it to appear, then change it to a pickup item of a bucket filled with acid which the player pick up into their inventory.

If you only want the acid bucket to appear in their inventory as soon as you use the bucket, just remove the first item then give them the second. I suggest using SetMessage as well to help the player know what's going on.

08-19-2014, 08:20 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)