Spawning Trigger =/

WastedSavior

A day without sunshine is like, well, night.
Reaction score
213
Arg i've come across another problem.. heres my trigger for spawning


Untitled Trigger 001 Copy 3 Copy 2
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Child
(Unit-type of (Killing unit)) Equal to Demon Hunter
Actions
Unit - Create 1 Wolf Cub for Player 11 (Dark Green) at (Position of (Triggering unit)) facing (Position of (Killing unit))
Unit - Order (Last created unit) to Attack-Move To (Center of Rect 010 <gen>)


I added in the last Action so i could decide where my wolf would attack.. but i wanna confine this trigger to one Region.. So i need a Condition that checks just the one region.. can anyone tell me how to get that condition?
 
sqrage said:
try dying unit

Uh thanks but that was completely useless... I want a condition that confines this trigger to a single region on the map.. The spawn works.. the attack works.. I just need.. to...have...it..only..work.. in...one...region.. savvy? =/
 
make

Code:
unit enter (region) 

set (variable) 1

Code:
unit leaves (region)

set variable 0

Untitled Trigger 001 Copy 3 Copy 2
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Child
(Unit-type of (Killing unit)) Equal to Demon Hunter
variable = 1
Actions
Unit - Create 1 Wolf Cub for Player 11 (Dark Green) at (Position of (Triggering unit)) facing (Position of (Killing unit))
Unit - Order (Last created unit) to Attack-Move To (Center of Rect 010 <gen>)
 
Did you want to spawn units only when they are killed in the region?
I believe the condition for that would be: Region contains dying unit Equal to True.
It is under the Boolean conditions.
 
Boolean - Unit in region (or maybe they call it rect...) add that maybe. Why would you use attacking unit and killing unit and THEN go off and use triggering unit....lol
 
oookay i should explain more.. I have 12 regions, 9 regions that will spawn villagers, that can be killed by either vampires or werewolves, the werewolves spawn wolfs, and the vampires spawn zombies.. I want the 3 top region spawns, to attack the region that is in vampires base, if only a werewolf kills it, if a vampire kills it, i want it to attack the werewolf region.. I have 2 triggers for werewolf and vampire spawns.. there pretty similar, just diff killing unit.. I wanna add the condition, that if this certain region has a unit in it killed by (vampire/werewolf) they attack either a (vampire/werewolf) base.. so when a vampire kills villager in region 1, it attacks region 10, but if a werewolf kills a villager in region 1, it attacks region 11.. understand?
 
I still think the solution seems fairly obvious: add the action If unit type of (killing unit) Equal to (vampire) then Order last created unit to Attack move to Center of region (werewolf base) else do nothing.

Edit: add another "If/then/else" after the first that's the same, except switch werewolf and vampire.
 
Um... not at all! :rolleyes:

Just use some if/then/elses for the condition, dont know who is supposed to attack the region but you could do like....

If <Region 1 contains Killing unit> and <Unit-type of Killing unit equal to Werewolf>
Then <Create 1 pup for Killin unit at position of killin unit> and <Order last created unit to attack-move to region 10>
Else do nothin

Something like that but you would have something like 24 of them... 12 per type of killing unit where 12 would be the # of regions. Have fun :nuts:
 
ADNORM said:
I still think the solution seems fairly obvious: add the action If unit type of (killing unit) Equal to (vampire) then Order last created unit to Attack move to Center of region (werewolf base) else do nothing.

Edit: add another "If/then/else" after the first that's the same, except switch werewolf and vampire.

But if i do that, Vampires will only go to the one thing.. i have 3 general areas that need to attack 3 different bases.. all from vampires.. wont it?
 
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
    +1
  • 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.
  • A Andyoyo:
    Thank you for the hard work over the years. It did not go unnoticed.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top