• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

max operation limit issue, Waits Not working...

Status
Not open for further replies.
Level 12
Joined
Feb 23, 2008
Messages
587
  • For each (Integer A) from 0 to MaxPlayers_PlusPark, do (Actions)
    • Loop - Actions
      • Wait 5.00 seconds
      • Wait 5.00 game-time seconds
      • For each (Integer B) from ((Integer A) x MaxTracksPerPlayer) to (((Integer A) + 1) + MaxTracksPerPlayer), do (Actions)
        • Loop - Actions
          • Set CartSpeeds[(Integer B)] = CartStartSpeed
          • Set TrackMPZ[(Integer B)] = 5.00
          • Set TrackEPZ[(Integer B)] = 5.00
          • Set TrackModel[(Integer B)] = No unit

MaxPlayers_PlusPark = 8
MaxTracksPerPlayer = 500 (Would like this to be 1000 at some point)
My Issue is this Doesn't Run. I Think because it gos over some sorta limit. I tried using waits and it doesn't seem to help any ideas?
 
Level 12
Joined
Feb 23, 2008
Messages
587
Hmm, I am not so sure...

Round 1:

Integer A = 0
Integer B = (Integer A)(0) *(MaxTracksPerPlayer)(500)
Integer B = 0
Go To = (Integer A + 1)(1) *(MaxTracksPerPlayer)(500)
Go To = 500

So Run Integer B 0-500.

Round 2:
Integer A = 1
Integer B = (Integer A)(1) *(MaxTracksPerPlayer)(500)
Integer B = 500
Go To = (Integer A + 1)(2) *(MaxTracksPerPlayer)(500)
Go To = 1000

So Run Integer B 500-1000.


NM MY BAD I FOUND IT!

Ill see if this fixs it..
 
Status
Not open for further replies.
Top