From 36f99cb01332fb3a4ce86dda19dc890590d7a5a2 Mon Sep 17 00:00:00 2001 From: filipex2000 <31369068+filipex2000@users.noreply.github.com> Date: Mon, 30 Apr 2018 11:16:27 +0200 Subject: [PATCH] Create Unlinked PS --- Snippets/Unlinked PS | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Snippets/Unlinked PS diff --git a/Snippets/Unlinked PS b/Snippets/Unlinked PS new file mode 100644 index 0000000..01be2bd --- /dev/null +++ b/Snippets/Unlinked PS @@ -0,0 +1,25 @@ + -- Build + +function Blueprint:Build() + local ps = self:GetPSByName("NAME HERE") + self.ps = ps:GetID() + self:UnlinkPSAndFromMO(ps) + +end + + + + + + +-- Update + +function Blueprint:Update() + + local ps = scene:GetPSByID(self.ps) + if ps then + ps:EmitBoom() + --ps:SetParticleEmitting(true) + end + +end