Leaks- create a unit in random region

Aiden

Member
Reaction score
0
Anyone see a leak?
Trigger:
  • Boxrandom
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
    • Actions
      • Set Manomaestra = (Random integer number between 1 and 10)
      • Set Set_Point3 = (Random point in Mapa <gen>)
      • Unit - Create (Random integer number between 0 and 1) Random Box for Neutral Hostile at Set_Point3 facing Default building facing degrees
      • Set Set_Point3 = (Random point in Mapa <gen>)
      • Unit - Create (Random integer number between 0 and 1) Random Box for Neutral Hostile at Set_Point3 facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_Set_Point3)
 

Sgqvur

FullOfUltimateTruthsAndEt ernalPrinciples, i.e shi
Reaction score
62
You ask twice for a random point in "Mapa <gen>" but remove only one of them.
 

Aiden

Member
Reaction score
0
so i need to copy this doble time ?
Trigger:
  • Custom script: call RemoveLocation(udg_Set_Point3)
?
 

keychup

Active Member
Reaction score
34
Like this:

* Boxrandom
o Events
+ Time - Every 60.00 seconds of game time
o Conditions
o Actions
+ Set Manomaestra = (Random integer number between 1 and 10)
+ Set Set_Point3 = (Random point in Mapa <gen>)
+ Unit - Create (Random integer number between 0 and 1) Random Box for Neutral Hostile at Set_Point3 facing Default building facing degrees
+ Custom script: call RemoveLocation(udg_Set_Point3)
+ Set Set_Point3 = (Random point in Mapa <gen>)
+ Unit - Create (Random integer number between 0 and 1) Random Box for Neutral Hostile at Set_Point3 facing Default building facing degrees
+ Custom script: call RemoveLocation(udg_Set_Point3)
 
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