AEmitter:IsEmitting

From Data Realms Wiki

Revision as of 00:11, 28 June 2012 by Beautifybot (Talk | contribs)
Jump to: navigation, search
Function
SyntaxIsEmitting( * None. )
Description:
Indicates whether this AEmitter is currently enabled and emitting.
ReturnsWhether it's emitting or not.




Example
DescriptionChecks whether emission is activated. If 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