and those are the only values I can tell that effect what I'm trying to do... yet when I run it, the starport that I gave this behavior to, doesnt spawn any vikings. Am I missing something?
The below is the only behavior I'm using, and there are no other effects in use here either. When I test the document, there's 1 viking created right away when the game starts, and then it never spawns any more than that. The limit is set to -1 which I thought meant "no limit" on how many times a unit can spawn.
I was looking through the behavior and effect wiki on Buff's and Sets and the Create Unit effect to get a unit to be spawns periodically and then came across the Spawn behavior which looks like it's specifically made for just that.
I'm using a trigger for that actually.. in the behavior, i have 2 effects linked. The first effect creates a unit, the second effect casts an ability (custom one that I made) that doesn't do anything, it's just a blank ability of the instant type... and then in triggers, i can use the event Any Unit Uses Ability... and then target that ability. No other unit in the game will use it, so I'm able to determine when these units are made via the behavior, and I can tell them all to do something when they're spawned.
For my map, I have them choosing to move to one of 5 points randomly.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I added a new behavior of the Spawn type...
and those are the only values I can tell that effect what I'm trying to do... yet when I run it, the starport that I gave this behavior to, doesnt spawn any vikings. Am I missing something?
It got the Queue ability? Tried other limit values? What is the offsets?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
The below is the only behavior I'm using, and there are no other effects in use here either. When I test the document, there's 1 viking created right away when the game starts, and then it never spawns any more than that. The limit is set to -1 which I thought meant "no limit" on how many times a unit can spawn.
I was looking through the behavior and effect wiki on Buff's and Sets and the Create Unit effect to get a unit to be spawns periodically and then came across the Spawn behavior which looks like it's specifically made for just that.
@DrSuperEvil: Go
Make the behavior a buff that applies a periodic effect of type 'create unit'.
-That should work.
@Neonsz: Go
Thanks, that worked perfectly.
If you somhow find a way to really the behavior to a certain point - I'd be happy if you'd share it (;
@Neonsz: Go
I'm using a trigger for that actually.. in the behavior, i have 2 effects linked. The first effect creates a unit, the second effect casts an ability (custom one that I made) that doesn't do anything, it's just a blank ability of the instant type... and then in triggers, i can use the event Any Unit Uses Ability... and then target that ability. No other unit in the game will use it, so I'm able to determine when these units are made via the behavior, and I can tell them all to do something when they're spawned.
For my map, I have them choosing to move to one of 5 points randomly.