Difference between revisions of "Location Script"

56 bytes added ,  00:54, 17 December 2018
cross linked the object & script
imported>ShadeMe
(Add missing F4SE member functions)
imported>Qazaaq
(cross linked the object & script)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]
<BR>
'''Editor:''' [[Location]]


Script for the manipulation of location base objects.
Script for the manipulation of location base objects.
Line 56: Line 55:


== F4SE Member Functions ==
== F4SE Member Functions ==
*Location Function [[GetParent - Location|GetParent]]()
**Returns this location's parent.
*EncounterZone Function [[GetEncounterZone - Location|GetEncounterZone]](bool abRecursive = False)
*EncounterZone Function [[GetEncounterZone - Location|GetEncounterZone]](bool abRecursive = False)
**Returns this location's encounter zone.
**Returns this location's encounter zone.


*Function [[SetParent - Location|SetParent]](Location akLocation)
*Location Function [[GetParent - Location|GetParent]]()
**Set this location's parent.
**Returns this location's parent.


*Function [[SetEncounterZone - Location|SetEncounterZone]](EncounterZone akEncounterZone)
*Function [[SetEncounterZone - Location|SetEncounterZone]](EncounterZone akEncounterZone)
**Set this location's encounter zone.
**Set this location's encounter zone.


*Function [[SetParent - Location|SetParent]](Location akLocation)
**Set this location's parent.


== Events ==
== Events ==
Line 74: Line 72:
*Event [[OnLocationLoaded - Location|OnLocationLoaded]]()
*Event [[OnLocationLoaded - Location|OnLocationLoaded]]()
**Event received when this location is loaded.
**Event received when this location is loaded.
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:WorldData]]
Anonymous user