AEmitter:EnableEmission
From Data Realms Wiki
(Difference between revisions)
m |
m (refresh cache) |
||
Line 3: | Line 3: | ||
|arguments = [[Boolean]] | |arguments = [[Boolean]] | ||
|returns = [[nil]] | |returns = [[nil]] | ||
- | |description = Toggles whether emissions ([[AddEmission]]) are activated or not. Useful for rockets/missiles that are supposed to have a short thrust-time. | + | |description = Toggles whether emissions ([[AddEmission]]) are activated or not. Useful for rockets/missiles that are supposed to have a short thrust-time. |
|codedesc = Checks whether emission is activated. When it isn't, it enables emission. | |codedesc = Checks whether emission is activated. When it isn't, it enables emission. | ||
|code = <code lua n> | |code = <code lua n> |
Revision as of 18:12, 7 June 2012
Function | |
---|---|
Syntax | EnableEmission( Boolean ) |
Description: | |
Toggles whether emissions (AddEmission) are activated or not. Useful for rockets/missiles that are supposed to have a short thrust-time. | |
Returns | nil |
Example | |
---|---|
Description | Checks whether emission is activated. When it isn't, it enables emission. |
Code |
|
Output | nil |