Hot
New Member
- Reaction score
- 9
So how can i check numbers of tress in playable maparea and then store the number into an Intger?
Just a simple trigger like this should work:
Trigger:
- Check Trees
- Events
- Conditions
- Actions
- Set TempInt = 0
- Destructible - Pick every destructible in (Playable map area) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Destructible-type of (Last created destructible)) Equal to Summer Tree Wall
- Then - Actions
- Set TempInt = (TempInt + 1)
- Else - Actions
Then "TempInt" will be the number you want