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!
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#3
RE: Box thaler chest help!

(12-10-2014, 09:27 PM)Mudbill Wrote: 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?

Thanks, but can I ask how you would add the sanity and health potions through the GiveItem script.

I don't know how to script the function you see. Blush
12-10-2014, 10:04 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)