• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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