selecting absolute numbers, is it possible?

akuzaid93

New Member
Reaction score
3
is it possible for me to select absolute number for example, 1, 2, 4, 7, 9, in the trigger trigger?
just like what [For Integer] works.

Only if it is possible.
 

vypur85

Hibernate
Reaction score
803
Don't really get you here.

Just guessing.
If the numbers don't have a typical pattern, you'd have to do it manually, one by one.
 

CAPSLOCKFTW

Member
Reaction score
5
I don't really understand what you dont understand...

If you mean the trigger "For each integer A do something"
You can just change the A to any number or integer

If this isnt it, specify plz
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
You can do something like this,
Trigger:
  • Trigger
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Set IntArray[1] = 1
      • Set IntArray[2] = 2
      • Set IntArray[3] = 4
      • Set IntArray[4] = 7
      • Set IntArray[5] = 9
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Game - Display to (All players) the text: (String(IntArray[(Integer A)]))


This is only if you are preloading the values at the start of the game(or actually if you are re-using the values), otherwise doing it manually 1 by 1 is better.
 

akuzaid93

New Member
Reaction score
3
what is preloading the values?
do you mean that it have to be defined at map initialization?

otherwise doing it manually 1 by 1 is better.
i think this explained it.
 
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