Ownership Change Pattern.

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
I fail to see how this would reduce lag...


Set IntegerVariableForRed = Math-modulo( IntegerVariableForRed + 1, 3)
Unit - Change owner of <some unit here> to Player(IntegerVariableForRed * 2 + 7)
 

Romek

Super Moderator
Reaction score
964
Post your trigger.
Though you do realise this won't help with lag at all? =|
It's just a useless trigger and extra work.
 

Bird

Ultra Cool Member
Reaction score
29
Here is what you will do... Instead of spawning the creature for Player 7, you are going to spawn the creature for an Integer variable (Lets call it Pattern_1)

So create an Integer Variable, initialize it to "7". Then add a Line at the end of your trigger that sets the Pattern_1 = (Pattern_1 + 2).

Then after that Add an If statement. If Pattern_1 = 13, then set Pattern_1 = 7.
 
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