PresentLaterclass | extras.t[3521] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
class
PresentLater : object
(none)
(none)
PresentLater
object
eventualLocation
initiallyPresent
plKey
initializeLocation
makePresent
makePresentByKey
makePresentByKeyIf
makePresentIf
eventualLocation | extras.t[3686] |
initiallyPresent | extras.t[3546] |
plKey | extras.t[3536] |
You don't need to define this for an object unless you want to use makePresentByKey() with the object.
initializeLocation ( ) | extras.t[3548] |
makePresent ( ) | extras.t[3587] |
makePresentByKey (key) | extras.t[3631] |
PresentLater.makePresentByKey('foo');
makePresentByKeyIf (key, cond) | extras.t[3659] |
If 'cond' is a function pointer, we'll invoke it once per object with the given key, passing the object as the parameter, and use the return value as the in game/out of game setting. For example, if you wanted to show every object with key 'foo' AND with the property 'showObj' set to true, you could write this:
PresentLater.makePresentByKeyIf('foo', {x: x.showObj});
Note that this is a "class" method that you call on PresentLater itself.
makePresentIf (cond) | extras.t[3616] |