Difference between revisions of "Location group (property type)"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
Line 5: Line 5:
 
A [[Groups/Classes|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 [[Groups/Classes|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.
  
[[File:GroupLocationsSelections.jpg]]
+
[[File:NewGroup.jpg]]
  
 
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-list drop-down list from which a group can be chosen.
 
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-list drop-down list from which a group can be chosen.
Line 20: Line 20:
 
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".
  
[[File:PropertyDialogObjectGroup.jpg]]
+
[[File:PropertyDialogLocationGroup.jpg]]
  
 
* Give the new property a description.  
 
* Give the new property a description.  

Revision as of 07:06, 1 January 2013

A Location-group-list property stores the key of a Location group.

  • The "List" part of the name refers to the drop-down list on the property page of a character, location or object, from which you select the wanted 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.

File:NewGroup.jpg

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-list drop-down list from which a group can be chosen. This is the "At Location Group" property.

StudyDoor.jpg

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".

RestrictionAtLocationGroup.jpg

Creating a new character-list 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".

PropertyDialogLocationGroup.jpg

  • Give the new property a description.
  • Ensure that "property of" is correctly set (Characters, Objects or Locations)
  • Set the property "Type" to "Location Group List".
  • Tick the "Mandatory" box if you want this property to always be selected.
  • If you want the drop-down list to only show characters with a certain property, then set the "Restrict by property" and "Restrict by value" fields.
  • 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.


<<< IntegerPropertiesLocation List >>>