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
Box thaler chest help!
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Box thaler chest help!

I'm sure you can figure out how to pay to pick it up. Well, use one entity you can't pick up, then check for the amount of money you need before switching the entity out for one that can be picked up.

After you pick it up, use an EntityCallbackFunc with PickUp type to trigger the event, then remove the item of the box through script, then add the items you want to give, as in GiveItem with the sanity and health potions.

Simple enough?

12-10-2014, 09:27 PM
Find


Messages In This Thread
Box thaler chest help! - by A.M Team - 12-10-2014, 09:09 PM
RE: Box thaler chest help! - by Mudbill - 12-10-2014, 09:27 PM
RE: Box thaler chest help! - by A.M Team - 12-10-2014, 10:04 PM
RE: Box thaler chest help! - by A.M Team - 12-11-2014, 07:26 PM
RE: Box thaler chest help! - by Mudbill - 12-11-2014, 12:29 AM
RE: Box thaler chest help! - by Mudbill - 12-11-2014, 09:35 PM



Users browsing this thread: 1 Guest(s)