Skip to content
reduz edited this page Feb 23, 2014 · 9 revisions

Script

Inherits: Resource\n\n

Brief Description

Base class for scripts.

Member Functions

Description

Base class for scripts. Any script that is loaded becomes one of these resources, which can then create instances.

Member Function Description

  • bool can_instance ( ) const \ Return true if this script can be instance (ie not a library).
  • bool instance_has ( Object base_object ) const \ Return true if a given object uses an instance of this script.
  • int reload ( ) \ Reload the script. This will fail if there are existing instances.

Clone this wiki locally