Counting trees(or other destructibles) and save to a variable?

neetmaster

New Member
Reaction score
0
Is there a way to count current number of destructibles in an area?

I want something like :
If current living tree count in playable map area < 100
then
do something

Thanks in advance.
 

Azylaminaz

Vox Populi
Reaction score
91
Code:
Set counter = 0
Destructible - Pick every destructible in (Playable map area) and do (Actions)
    Loop - Actions
        Set counter = (counter + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        counter Less than 100
    Then - Actions
    Else - Actions
 
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