killing players units

  • Thread starter Thread starter darkassaisin
  • Start date Start date
D

darkassaisin

Guest
is there an action that kills all of the units that a player owns? or makes it so all of the units a player owns in a region die? here i have done many things to make it work but it won't look here and how do u make it so when a unit that a player owns dies in a certain region it will stop a triggers actions but those actions can be played again later cause in my battle thing when a unit dies i want all of the creeps in the region that the unit was battling in to die and i want the trigger to stop
 

Attachments

>> is there an action that kills all of the units that a player owns?

Yes, it's under (I can't remember the exact words) Unit Group - Pick every unit in unit group and do [actions].

set the unit group to 'units owned by player', and set the action to kill 'Picked Unit'

>> or makes it so all of the units a player owns in a region die?

Same thing, except the unit group must be 'units in region owned by player' (or units owned by player in region, can't remember)

>> how do u make it so when a unit that a player owns dies in a certain region it will stop a triggers actions but those actions can be played again later

Not too sure what you mean, but you can use the event 'Player owned unit event' and set it to 'unit owned by [player] dies'.

As a condition, use boolean type 'Unit in region' equal to 'true'.

Use 'Trigger - turn off' as the action. When you want that trigger to work again, use 'Trigger - turn on'.
 
i have this tournement thing and only one player can be in there at a time and they fight netral units and when they die i want to make it so all the neutral people in a region die or all the people owned by a certain player die and that player will be the neutral people and the trigger that i chose will stop but that trigger can be used again and the turn off trigger thing may work but still how do u kill all of those neutral people?
 
To kill all the neutral units, use the same trigger (Unit Group - Pick every unit in unit group and do [actions]) and make the unit group equal to all units owned by neutral hostile (or neutral passive; if you want both, make it all 'units matching condition', and make it an or condition with the two conditions being 'owner of matching unit is equal to neutral hostile' and likewise for neutral passive)

Hope this solves what you're looking for.
 
dude i got it alrdy thx i found it i had mine all screwed up it was killing all the units in a region which still wasn't working
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content
  • The Helper The Helper:
    I wonder how all these bots that sit on the lastest content page get passed anubis or maybe they did not but they are just registering on whos online
  • The Helper The Helper:
    showing up on whos online not registration
  • Ghan Ghan:
    The first gate is stopping all the bots that don't execute javascript.
  • Ghan Ghan:
    That's the main thing with Anubis - no Javascript, no site. Typically you can still get the site to load without Javascript.
  • The Helper The Helper:
    I remember the whole javascript thing, question - how many real people disable that?
  • The Helper The Helper:
    Hell I guess I could go back on the stats to know that - we probably capture that and we know the before and after
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top