Difference between revisions of "Location group (property type)"
m |
m (moved Location group property type to Location group (property type): clarify title) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {| style="width:12em; font-size:90%; text-align:left; float:right; border:1px #CCC solid; margin-left:1em; margin-bottom:1em;" cellpadding="3" cellspacing="0" | ||
+ | ! colspan="2" style="font-size:110%; text-align: center; background-color: #ccccff;" | ''THE MAIN ITEMS'' | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Locations]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Objects]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Tasks]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Characters]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Events]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Variables]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Groups/Classes|Groups]] | ||
+ | |- | ||
+ | | style="background-color: #00ff00;" | [[Properties ]] | ||
+ | |- | ||
+ | | ---- [[Character property type|Character]] | ||
+ | |- | ||
+ | | ---- [[Integer property type|Integer]] | ||
+ | |- | ||
+ | | style="color: #ffffff; background-color: #000000;" | ---- Location Group | ||
+ | |- | ||
+ | | ---- [[Location property type|Location]] | ||
+ | |- | ||
+ | | ---- [[Object property type|Object]] | ||
+ | |- | ||
+ | | ---- [[Selection only property type|Selection]] | ||
+ | |- | ||
+ | | ---- [[State property type|State]] | ||
+ | |- | ||
+ | | ---- [[Value property type|Value]] | ||
+ | |- | ||
+ | | ---- [[Text property type|Text]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Text Overrides]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Hints]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[Synonym|Synonyms]] | ||
+ | |- | ||
+ | | style="background-color: #00C000;" | [[User functions]] | ||
+ | |} | ||
+ | |||
A Location-group property stores the [[key]] of a [[Groups/Classes|Location group]]. | A Location-group property stores the [[key]] of a [[Groups/Classes|Location group]]. | ||
Line 16: | Line 62: | ||
[[File:RestrictionAtLocationGroup.jpg]] | [[File:RestrictionAtLocationGroup.jpg]] | ||
− | == Creating a new location-group | + | == Creating a new location-group property == |
Create a new property by clicking the "Add new property" button at the bottom of the Properties tab of a Character, Location, or Object. You can also right-click the open "Properties" folder and select "Add Property", or right-click any other open folder and select "Add new/Property". | Create a new property by clicking the "Add new property" button at the bottom of the Properties tab of a Character, Location, or Object. You can also right-click the open "Properties" folder and select "Add Property", or right-click any other open folder and select "Add new/Property". | ||
Latest revision as of 02:59, 13 September 2013
THE MAIN ITEMS | |
---|---|
Locations | |
Objects | |
Tasks | |
Characters | |
Events | |
Variables | |
Groups | |
Properties | |
---- Character | |
---- Integer | |
---- Location Group | |
---- Location | |
---- Object | |
---- Selection | |
---- State | |
---- Value | |
---- Text | |
Text Overrides | |
Hints | |
Synonyms | |
User functions |
A Location-group property stores the key of a Location group.
A location group is a separate item in ADRIFT, and consists of a list of all of the locations in the game, from which the members of the group are selected by ticking the box next to them.
A static object which exists in more than one location will have its Initial Location set to "Location Group", which will then activate a Location-group property drop-down list from which a group can be chosen by name.
This is the "At Location Group" property.
Testing the property
In the following example we are testing if a particular object has its "At Location Group" property set to the group called "doorway hall / front yard".
Creating a new location-group property
Create a new property by clicking the "Add new property" button at the bottom of the Properties tab of a Character, Location, or Object. You can also right-click the open "Properties" folder and select "Add Property", or right-click any other open folder and select "Add new/Property".
- Give the new property a description.
- Ensure that "property of" is correctly set (Characters, Objects or Locations)
- Set the property "Type" to "Location Group".
- Tick the "Mandatory" box if you want this property to always be selected.
- If you only want this property to appear on the property tab if the item has a particular characteristic, then select the name of a particular property and the value it must have before this property is shown.
<<< Integer property type | Properties | Location property type >>> |