is it possible to change the size of an effect with triggers? i know its possible to edit it in data editor, but i want to change it depending on situation. or do i have to create 10 effects with different size? =/
Well, there is the "Send Actor Message" function that has a "multiply scale" message type that could be useful. I think that'd really only work if you're creating the effect through triggers in the first place (so that you can reference it), though, and not just altering some type of ability cast.
Depends on.. if you mean the special effect you can do like JPL. said.
If you mean the radius of an effect you can use use Set Catalog Field Value (no guarantee this works).
Depends on.. if you mean the special effect you can do like JPL. said.
If you mean the radius of an effect you can use use Set Catalog Field Value (no guarantee this works).
i just want to create an effect (ghost nuke) at a point and set its size depending on some variables.
i found the actor msg style, but i dont really get it.
at the moment im creating the effect like this:
i also tried to use an actor, but i couldnt select the effect right there (sry im really unexperienced with actors yet)
so how do i use this exactly?
PS: is it possible to make an effect last longer? i edited the "blend time" and "animation speed" in the data editor but i couldnt see any difference =/
The Actor message needs to be sent to an instance of a "special effect". The instance of the nuke explosion is attached to the effect, but the effect is not the instance. I don't know if you can get the instance of an actor through triggers, but you can manually create the "special effect" like this:
Actor-CreateactorGhostNukeExplodeatpointPoint
I think that's the right one. You can then proceed to scale this with the Actor message
About the animation speed: It can be changed with "Animation Speed" but there's something else you have to do... I had a map in which I used it but the editor crashed and it's gone >.< I can't remember what exactly it was.
I think it had something to do with setting the actor's time scale from Global to Local or so.
hello!
is it possible to change the size of an effect with triggers? i know its possible to edit it in data editor, but i want to change it depending on situation. or do i have to create 10 effects with different size? =/
greez
Well, there is the "Send Actor Message" function that has a "multiply scale" message type that could be useful. I think that'd really only work if you're creating the effect through triggers in the first place (so that you can reference it), though, and not just altering some type of ability cast.
Depends on.. if you mean the special effect you can do like JPL. said.
If you mean the radius of an effect you can use use Set Catalog Field Value (no guarantee this works).
Tut for that: http://forums.sc2mapster.com/development/tutorials/1250-triggers-catalog-field-value-get-set/#p2
i just want to create an effect (ghost nuke) at a point and set its size depending on some variables.
i found the actor msg style, but i dont really get it.
at the moment im creating the effect like this:
i also tried to use an actor, but i couldnt select the effect right there (sry im really unexperienced with actors yet)
so how do i use this exactly?
PS: is it possible to make an effect last longer? i edited the "blend time" and "animation speed" in the data editor but i couldnt see any difference =/
@Mille25: Go
The Actor message needs to be sent to an instance of a "special effect". The instance of the nuke explosion is attached to the effect, but the effect is not the instance. I don't know if you can get the instance of an actor through triggers, but you can manually create the "special effect" like this:
I think that's the right one. You can then proceed to scale this with the Actor message
Would size it down to 25%
About the animation speed: It can be changed with "Animation Speed" but there's something else you have to do... I had a map in which I used it but the editor crashed and it's gone >.< I can't remember what exactly it was.
I think it had something to do with setting the actor's time scale from Global to Local or so.