Difference between revisions of "Scripts"

57 bytes added ,  17:18, 16 July 2015
m
imported>Bug64
m (Added an explanation of auto-fill)
imported>Bug64
 
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:


'''Usage Notes'''
'''Usage Notes'''
* If you create a script outside of the tool, it will ''not'' appear in the list of scripts.
* If you create a script outside of the tool, it will not appear in the list of scripts until it has been compiled.
* As elsewhere, script names are case insensitive




Line 37: Line 38:
* '''Conditional''': Adds the [[Flag Reference#Script Flags|conditional]] flag to the script's definition.
* '''Conditional''': Adds the [[Flag Reference#Script Flags|conditional]] flag to the script's definition.
* '''Documentation String''': Documentation explaining the script's purpose.
* '''Documentation String''': Documentation explaining the script's purpose.


= Remove =
= Remove =
Line 47: Line 47:


* '''Add Property''': Adds a new property to the script.   
* '''Add Property''': Adds a new property to the script.   
* '''Auto-Fill All''': Automatically fills in any property which is named after the entity to which it refers.  As an example, an ActorBase property named Atrid will be automatically filled with a reference to that object.   
* '''Auto-Fill All''': Automatically fills in any property which is named after the entity to which it refers.  As an example, an ActorBase property named Atrid will be automatically filled with that object.   
* '''Edit Value''': Allows you to set the value of this property.  The area to the left of the button will provide one or more input fields to be populated, depending on the property's type.
* '''Edit Value''': Allows you to set the value of this property.  The area to the left of the button will provide one or more input fields to be populated, depending on the property's type.
* '''Revert''': ''TBD''
* '''Revert''': ''TBD''
Anonymous user