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
Script Help Thaler
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#5
RE: Thaler

You can easily script the amount they have by using global variables, but displaying it is another deal, as described above.

Every time you pick up the item, you'll run the AddGlobalVarInt("Thalers", 20); if you picked up for example 20 of them. You can then use GetGlobalVarInt("Thalers") when you buy something to check it the player has enough.

(This post was last modified: 02-16-2015, 04:43 PM by Mudbill.)
02-16-2015, 04:41 PM
Find


Messages In This Thread
Thaler - by User01 - 02-16-2015, 12:26 PM
RE: Thaler - by Ongka - 02-16-2015, 12:38 PM
RE: Thaler - by User01 - 02-16-2015, 12:49 PM
RE: Thaler - by Neelke - 02-16-2015, 02:41 PM
RE: Thaler - by Mudbill - 02-16-2015, 04:41 PM
RE: Thaler - by FlawlessHappiness - 02-16-2015, 05:40 PM
RE: Thaler - by User01 - 02-17-2015, 10:59 AM
RE: Thaler - by FlawlessHappiness - 02-17-2015, 11:16 AM
RE: Thaler - by User01 - 02-17-2015, 11:53 AM
RE: Thaler - by FlawlessHappiness - 02-17-2015, 12:05 PM
RE: Thaler - by Neelke - 02-17-2015, 01:04 PM
RE: Thaler - by FlawlessHappiness - 02-17-2015, 02:11 PM
RE: Thaler - by Romulator - 02-17-2015, 02:16 PM
RE: Thaler - by FlawlessHappiness - 02-17-2015, 03:01 PM



Users browsing this thread: 1 Guest(s)