Hi, I am making a skill shot ability using the raynor laser splat model.
I got the model to work using an Actor:
Actor
Type : (Arc) Parent : (Guide Visual Arc)
The problem is when I use the ability, the actor stays alive until the ability is completely finished, and if I cancel the ability the actor stays alive for about 2 seconds then destroys itself. I need the actor to destroy immediately when the ability is canceled or if the ability is used.
Here are the actor fields:
As you can see from the events I tried multiple things to destroy the actor, but none worked. Anyone have any idea how I can get it to be destroyed immediately?
Some models don't immediately disappear when being destroyed, mostly splats. Try to set its Visibility before you destroy it.
Reset your Events to default
Copy the last event (ActorOrphan -> Destroy)
Change the first of the 2 identical events (the grey one) to ActorOrphan -> SetVisibility 0
This might sound strange, but the order is important. You cannot just add the visibility after the destruction. If you try to set the visibility after the actor is already destroyed, it would have no effect.
Hi, I am making a skill shot ability using the raynor laser splat model.
I got the model to work using an Actor: Actor Type : (Arc) Parent : (Guide Visual Arc)
The problem is when I use the ability, the actor stays alive until the ability is completely finished, and if I cancel the ability the actor stays alive for about 2 seconds then destroys itself. I need the actor to destroy immediately when the ability is canceled or if the ability is used.
Here are the actor fields:
As you can see from the events I tried multiple things to destroy the actor, but none worked. Anyone have any idea how I can get it to be destroyed immediately?
Some models don't immediately disappear when being destroyed, mostly splats. Try to set its Visibility before you destroy it.
This might sound strange, but the order is important. You cannot just add the visibility after the destruction. If you try to set the visibility after the actor is already destroyed, it would have no effect.
Thanks a lot, it worked perfectly.