Do Nothing Spawn

  • Thread starter Thread starter La_Loser
  • Start date Start date
L

La_Loser

Guest
Events: Every 45 seconds of game time

Conditions:

Actions: Create 1 Blah at Region 1 facing 0 degrees


How do u make it so that if you kill a building it can stop spawning units ?
 
Close, zll7. But not quite there ;)

Add a condition or two to SPECIFY that the dying unit has to be the "Spawning" building. Otherwise, the first unit that dies would turn the trigger off! :eek:

Alexander
 
Could you do it the with the boolean thing?

Condition- Triggering Unit is equal to structure is to true
 
No, you will have to select the unit from the editor.

From where it says select unit, use that.
 
Could you do it the with the boolean thing?

Condition- Triggering Unit is equal to structure is to true

no that would trigger when ANY building dies
 
How about this

Events: every 45 seconds
Conditions:
Actions: create 1 footmen for player 1(red) at region 001

Events: A unit dies
COndtions: equal to barracks025
Actions: Trigger ( Do Nothing )


Would that work???
 
Well, the spawning trigger would need a bit more. You'd have to select the units and make them rush to wherever (I'm assuming this is an AoS type of spawning?) but basically, the first one would work.

For the second one, you want to simply use:
Trigger - Turn off (Spawn)

Alexander
 
Do it in 1 trigger!!!

Code:
Untitled Trigger 001
    Events
        Time - Every 2.00 seconds of game time
    Conditions
    Actions
        If ((Barracks 0000 <gen> is alive) Equal to True) then do (Unit - Create 1 Footman for Player 1 (Red) at (Position of Barracks 0000 <gen>) facing Default building facing (270.0) degrees) else do (Trigger - Turn off (This trigger))
 
Or do that! :D

Thanks, 56k, for making me look like an idiot ;)

Alexander
What an idiot :P
 
Np

And if any1 is wondering where those functions are its.

If/Then/Else for action
For If its Boolean, Unit is Alive
Then is unit - create
Else is Trigger - Off
 
What's all this mumbo jumbo with conditions and stuff? Use the "Create N Units at (Position of Building)". If the building dies, the unit will have o place to spawn, so it suffices to stop spawning.
 
Even when you turn a trigger off, it's still running! The game checks the trigger EVEN IF IT'S TURNED OFF.
 
Im sorry I have to butt in and finish this post.


Untitled Trigger 001
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
If ((Barracks 0000 <gen> is alive) Equal to True) then do (Unit - Create 1 Footman for Player 1 (Red) at (Position of Barracks 0000 <gen>) facing Default building facing (270.0) degrees) else do nothing)


All you need to do is let it check it every time you plan to spawn them from it.

Then do it for any other place you plan to have them spawn out from.


This will work like DOTA cept when the building is dead it wont spawn anymore, but the trigger will still cheak every spawn time.
 
Yea, you'll have to create two triggers per building if you want to do it the more advanced way that doesn't have to keep checking. Aka, you have to have a trigger that turns off the spawning trigger once the building dies.
 
Yeah, but if your lazy like me you dont need to make that other trigger to turn it off till your game lags too 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

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top