AEmitter:TriggerBurst

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
m (updating function page)
m (updating function page)
 
Line 5: Line 5:
|description =
|description =
Triggers a one-shot burst of emissions in the number that has previously been set. The burst will happen during the next Update of this AEmitter.
Triggers a one-shot burst of emissions in the number that has previously been set. The burst will happen during the next Update of this AEmitter.
-
|codedesc = Checks whether emission is activated. When it isn't, it enables emission.
+
  }}
-
|code = <code lua n>
+
-
function Update(self)
+
-
if self:IsEmitting() == false then
+
-
self:EnableEmission(true);
+
-
end
+
-
end
+
-
</code>
+
-
|output = [[nil]]
+
-
}}
+

Latest revision as of 00:55, 28 June 2012

Function
SyntaxTriggerBurst( * None. )
Description:
Triggers a one-shot burst of emissions in the number that has previously been set. The burst will happen during the next Update of this AEmitter.
ReturnsNone.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools