Pick all units owned by player and loop actions help

Im_On_56k

Hm...
Reaction score
116
World Map2 1
Events
Time - Every 11.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in world map2 1 <gen>(((Owner of (Picked unit)) controller) Equal to User)) and do (Actions)
Loop - Actions
Unit - Create 1 Rogue for Player 9 (Gray) at (Position of (Picked unit)) facing Default building facing (270.0) degrees


Hmm won't work can someone find what i did wrong
 
Well its kind of confusing. You pick every unit, then create a rogue for player gray? You said pick every unit, then you make the rogue face every unit on the map? Umm? Could you remove the pick every units if your going to give it to player gray anyways?
 
I want it to pick all units owned by a player not a computer and create 1 unit for grey for every unit in that region
 
Ah, I see. But why using player gray? Try this:

E: every 11 seconds

C:

A: pick every PLAYER in [all players] (no editor in front of me) matching [matching player is user controlled equal to true] and do: create 1 rogue for picked player in [your region]

That should work, not exact but close. :D

Edit - Oh wait, for every unit that player has you want to create a unit? Then do this instead of create one rogue:

A create [number of units owned by matching players] rogues for matching players

This might work lol :D

Edit again: oh player GRAY? one sec let me change it
 
alright thx ill try it out this is wat i got

World Map2 1
Events
Time - Every 11.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players matching (((Picked player) controller) Equal to User)) and do (Unit - Create 1 Rogue for Player 9 (Gray) at (Position of (Picked unit)) facing Default building facing (270.0) degrees)
 
Does it work? :confused: I think I did something wrong, but if not, cheers. :D

Wait shouldnt the actions besomething along these lines:

Pick every unit in playable map area matching [matchig units controller is user equal to true] and do set [grays units] (interger variable) to grays units plus 1

then create [grays units] rogues in region x?
 
Just thought that, its picking players not units.
would this do it

World Map2 1
Events
Time - Every 11.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in world map2 1 <gen>(((Owner of (Picked unit)) controller) Equal to User)) and do (Unit - Create 1 Rogue for Player 9 (Gray) at (Position of (Picked unit)) facing Default building facing (270.0) degrees)
 
Well your creating a unit at the position of all da picked units, unless you want a ton of solo duels against rouges you might want to do that in a region.
Try it out too lol we wont figure it out by JUST talking here :D :P

Maybe create [number of units in playable map area matching [owning player is a user]] for player gray in region x?
 
all screw it ill just use the long way, ill try and see how to do it once im done my map, so i can use it for future maps.
 
If you still need/want help:


World Map2 1
Events
Time - Every 11.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in world map2 1 <gen>(((Owner of (matching unit)) controller) Equal to User)) and do (Unit - Create 1 Rogue for Player 9 (Gray) at (Position of (Picked unit)) facing Default building facing (270.0) degrees)
 
One unit cannot be at more than 1 place at a time.

What you can do is.

Pick every units
Set NumberOfRogues = Number of picked unit
Create NumberofRogues Rogues at (...)

Where NumberOfRogues is an integer variable of value 0.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • The Helper The Helper:
    Also, anyone who is reading this and is sad - don't be, turn off the Internet, step away from the box - enjoy your life - there is so much more out there for you than there is here for you.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top