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


Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to make floor break when u go to a certain area
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#22
RE: how to make floor break when u go to a certain area

Thalers are, in short, a bitch to code.

(03-29-2013, 03:03 PM)Rapture Wrote: You can use the "chest_small" itself or put an Area around it...

You have a script called when grabbed and run a condition. If player has #thalers, do this, if not do else.

Now, if you only have one bag of Thalers in the map, you can do a simple Item comparison in the Inventory.

If you have multiple bags (Say the objective is to collect 50 Thalers to rent a room in a Hotel. And their are 10+ bags around, each with different amount of Thalers inside of each bag.) you would want to set a variable, initalized to 0.

Then simply add the amount of Thalers found each time it is picked up to the variable (The total amount of Thalers you have on yourself.) till you reach your goal.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
06-21-2014, 09:03 AM
Find


Messages In This Thread
RE: how to make floor break when u go to a certain area - by Romulator - 06-21-2014, 09:03 AM



Users browsing this thread: 5 Guest(s)