Checking on resources

set

New Member
Reaction score
2
I made a trigger -random , but before it get executed it need to check does it player have one lumber ?
What should i add in Condition?
 

averes

New Member
Reaction score
17
Code:
((Triggering player) Current lumber) Greater than or equal to 1

Adding that as the condition will make sure that the triggering players lumber is 1 or greater. I assume that they type in "-random"
 

set

New Member
Reaction score
2
i am realy noob :banghead: from where to select
((Triggering player) Current lumber)
I tryed Boalen Comparison and Player Comparison but cant find it!
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
Try integer comparison.

Booleans = true or false.

Integers = whole numbers such as 1, 3 and 13.

Reals = numbers with decimals such as 5.2, 7.53 etc.

Just some things that's good to know.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top