AEmitter:TriggerBurst

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)
Newer edit →

Revision as of 00:45, 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
DescriptionChecks whether emission is activated. When it isn't, it enables emission.
Code
  1. function Update(self)
  2.         if self:IsEmitting() == false then
  3.                 self:EnableEmission(true);
  4.         end
  5. end
Outputnil
Personal tools