hey, i have a problem i dont know how to fix. i made a spell where i creat a cursor splat model around the caster , so every ally know "uuh, ich want to get close with him" ;). And after the cast phase, it´s destroyed.
Actor Event: Ability - Source Prep - Create
Actor Even: Ability Source Cast Stop - Destroy
This works perfectly. But if my unit dies while the prepare/cast phase or just simply give a move order and cancels the ability, the cursor model stays around the caster and is only destroyed if he uses the ability correctly again.
hey, it´s a mix unfortunatly. it´s a mass teleportation spell. when you click on the ability button, you need to click on the ground for the target area and around the caster (within the curser splat area) is a search area effect which defines the units which will be teleported with the caster. and after that , well, they alle teleport to the target location.
so unfortunatly i cant find the commands you suggested... :(
Dependant on how you actually realized the ability, you could also use these
If you used a behavior:
Behavior.?.on
create
Behavior.?.off
destroy
If you used a persistent effect:
Effect.?.start
create
Effect.*.stop
destroy
€ ah, you used the preparation time? In this case, i would suggest not to use it, but to make the ability instant cast and use a persistent or behavior instead.
yeah i use the prep phase. well the problem is that it´s to late for other player to recognize i want to teleport if i use it with the start of the search effect :(
what happens to blizzard abilities if the casters dies while casting?
other question , because you seem to know the editor quit well. at the beginning you can choose a hero with the "camera system". (not with dialogs or the circle thing). the problem is that raynor has this stupid animation where he turns around while standing. how can i deactivate that, because it looks really stupid if you choose your hero and he shows you his ass... :-D
pretty sure you could build a timer into the actor that turns it on and off cycling ... as well as a check into the cycle to check to see if the ability is still being channeled....
not sure if thats how your spose to do it or not... im not too hot with actors
not sure about the logic statement part.... what you can do is create a dummy behavior on the unit that uses a dummy effect every .5 seconds the actor for the effect creates the visual and would have a actor event timer that kills the actor after .4 seconds...
you may get some flashing on off on the actor.... but that might look good so it would like blink a little...
im sure theres other ways to go about this ... possibly just create a persistent effect rather then the ... behavior with a periodic effect
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
To post a comment, please login or register a new account.
hey, i have a problem i dont know how to fix. i made a spell where i creat a cursor splat model around the caster , so every ally know "uuh, ich want to get close with him" ;). And after the cast phase, it´s destroyed. Actor Event: Ability - Source Prep - Create Actor Even: Ability Source Cast Stop - Destroy
This works perfectly. But if my unit dies while the prepare/cast phase or just simply give a move order and cancels the ability, the cursor model stays around the caster and is only destroyed if he uses the ability correctly again.
what can i do?
@PsychoMC: Go
i think you can do this by adding 2 new events with a destroy attached to it.
Unit Death and Unit Movement Update
@DragonGuard1989: Go
try those out instead of using Source Cast Start or Source Cast Stop. This should also cover unit death and unit movement.
From what you wrote, it seems it's an instant cast, Area of Effect, so this should be good for what you want.
hey, it´s a mix unfortunatly. it´s a mass teleportation spell. when you click on the ability button, you need to click on the ground for the target area and around the caster (within the curser splat area) is a search area effect which defines the units which will be teleported with the caster. and after that , well, they alle teleport to the target location. so unfortunatly i cant find the commands you suggested... :(
Dependant on how you actually realized the ability, you could also use these
If you used a behavior:
If you used a persistent effect:
€ ah, you used the preparation time? In this case, i would suggest not to use it, but to make the ability instant cast and use a persistent or behavior instead.
yeah i use the prep phase. well the problem is that it´s to late for other player to recognize i want to teleport if i use it with the start of the search effect :( what happens to blizzard abilities if the casters dies while casting?
other question , because you seem to know the editor quit well. at the beginning you can choose a hero with the "camera system". (not with dialogs or the circle thing). the problem is that raynor has this stupid animation where he turns around while standing. how can i deactivate that, because it looks really stupid if you choose your hero and he shows you his ass... :-D
pretty sure you could build a timer into the actor that turns it on and off cycling ... as well as a check into the cycle to check to see if the ability is still being channeled....
not sure if thats how your spose to do it or not... im not too hot with actors
really? how can i do that?
not sure about the logic statement part.... what you can do is create a dummy behavior on the unit that uses a dummy effect every .5 seconds the actor for the effect creates the visual and would have a actor event timer that kills the actor after .4 seconds...
you may get some flashing on off on the actor.... but that might look good so it would like blink a little...
im sure theres other ways to go about this ... possibly just create a persistent effect rather then the ... behavior with a periodic effect