I am using the smoke prefab from the supply signal for a plugin using
The problem is it never stops. I've had a look around but cant seem to find anything on how to destroy it once I'm done with itCode:Effect.server.Run("assets/bundled/prefabs/fx/smoke_signal_full.prefab", pos);
Solved Destroy effect prefab
Discussion in 'Rust Development' started by k1lly0u, Dec 5, 2015.
-
Wulf Community Admin
You'd probably need to find it and kill it like any other entity, but unsure.
-
Supply signal effect is handled by client.
Also we can't directly control any effect from server.
In this case effect must have parent, the effect will be destroyed along with its parent.
Code:Effect.server.Run("assets/bundled/prefabs/fx/smoke_signal_full.prefab", AnyBaseEntity, 0, Vector3.zero, Vector3.zero, null, false);
Last edited by a moderator: Dec 5, 2015 -
Thankyou