Too Close To Enemy TRIGGER?

  • Thread starter Thread starter GorLEs
  • Start date Start date
G

GorLEs

Guest
How To Make A Trigger, That When You Are In Range Of Some Unit, You'll Die?
There is going to be LOTS of units, and i didn't plan to make event from all of them...
 
unit comes within X of footman.

unit equals to X

Kill unit

not really sure bout it, but close enough.

There is another thread bout this if you search.

Edit: Wait, didn't you make another thread bout this? :confused: :mad: touch---die?
 
Multiplayer or single? If it is singleplayer pick every unit in map area, and work with a moving region. If multiplayer, give up.

FOLLOW THIS ADVICE ONLY IF the previous post ^^^ is unusable. If you can use the above post ^^^, do so.
 
This will work (hopefully)

Untitled Trigger 001
Events
Unit - A unit comes within 256.00 of (Find the unit next to (Center of (Playable map area)))
Conditions
Actions
Unit - Explode (Triggering unit)
~:D
 
GorLEs said:
How To Make A Trigger, That When You Are In Range Of Some Unit, You'll Die?
There is going to be LOTS of units, and i didn't plan to make event from all of them...


Please give me as much detail on what you need out of it as you can so I can make sure I can make you a good trigger.
 
Kc102, that doesnt even make sense.

Code:
Hmm
    Events
        Time - Every 0.05 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) is alive) Equal to True
                    Then - Actions
                        Unit Group - Pick every unit in (Units within 100.00 of (Position of (Picked unit)) matching ((Owner of (Picked unit)) Not equal to Player 12 (Brown))) and do (Actions)
                            Loop - Actions
                                Unit - Kill (Picked unit)
                    Else - Actions
                        Do nothing
 
Lets wait for some more description from our threat maker and see what he really needs in detail before we try awnsering.

In a sence Garetts (Im_On_56k) works, but it may not fit exactally what he wants like he may want only a few guys in a area that are passive to die out.

Blah blah im talking again, ne way we will see.
 
This is a easy way, 2 triggers. This have the disadvantage against 56k that the unit you come near of can be dead.

Ok, the actual reason for me to send this is that I want to se if it works...

(No I have not forgotten the event)
Code:
Kill
    Events
    Conditions
        (Owner of (Triggering unit)) Not equal to Player 12 (Brown)
    Actions
        Unit - Kill (Triggering unit)
Code:
Add
    Events
        Map initialization
    Conditions
    Actions
        Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Trigger - Add to Kill <gen> the event (Unit - A unit comes within 256.00 of (Picked unit)))
 
Well the idea was that when unit comes to specific range of enemy unit, player-owned unit dies.. im sick so i wont write much...
 
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

Staff online

  • Ghan
    Administrator - Servers are fun

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top