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

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
(Location group list -> Location group)
Line 1: Line 1:
A Location-group-list property stores the [[key]] of a [[Groups/Classes|Location group]].
+
A Location-group property stores the [[key]] of a [[Groups/Classes|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.
+
  
  
Line 7: Line 6:
 
[[File:NewGroup.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 property drop-down list from which a group can be chosen by name.
 +
 
 
This is the "At Location Group" property.
 
This is the "At Location Group" property.
  
Line 24: Line 24:
 
* Give the new property a description.  
 
* Give the new property a description.  
 
* Ensure that "property of" is correctly set (Characters, Objects or Locations)  
 
* Ensure that "property of" is correctly set (Characters, Objects or Locations)  
* Set the property "Type" to "Location Group List".  
+
* Set the property "Type" to "Location Group".  
 
* Tick the "Mandatory" box if you want this property to always be selected.  
 
* 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.  
 
* 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.  
  
  
<TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[Integer property type|<<< Integer]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Properties]]</TD><TD ALIGN=CENTER>[[Location_list_property_type|Location List >>>]]</TD></TABLE>
+
<TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[Integer property type|<<< Integer property type]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Properties]]</TD><TD ALIGN=CENTER>[[Location_property_type|Location property type >>>]]</TD></TABLE>

Revision as of 05:39, 29 August 2013

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.

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 property drop-down list from which a group can be chosen by name.

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 location-group-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".
  • 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 typePropertiesLocation property type >>>