%character%.Parent function
From ADRIFT 5 Manual Wiki
The "Parent" function will give the key of the object, location or character that this character is inside or on top of.
Not working in 5.0.26 - May crash ADRIFT runner.
Properties
The "Location of the character" property determines whether the "At which Location", "In Which object?", "On which object?" or "On which character?" property of the character displays the name of the object that this character is on top of. Setting one of these properties determines which object, character or Location will be returned by the Parent function.
How to use
This function returns an item key.
To use an object function, character function or location function you will need to use a restriction to limit the task or alternate description to the required item type.
Examples
- Character7.Parent
- The key of the parent of Character7.
- %Player%.Parent.ShortLocationDescription
- If we know that the player is at a location, this gives the short description of that location.
- %character%.Parent.Weight
- The weight of the object that the referenced character is either sitting inside of or on top of.
<<< CharOnWhat | Character Functions | Object Functions >>> |