Difference between revisions of "Location Script"

543 bytes added ,  00:54, 17 December 2018
cross linked the object & script
imported>Plplecuyer
 
imported>Qazaaq
(cross linked the object & script)
 
(3 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 55: Line 53:
*Function [[SetKeywordData - Location|SetKeywordData]](Keyword akKeyword, float afData)
*Function [[SetKeywordData - Location|SetKeywordData]](Keyword akKeyword, float afData)
**Sets the specified [[Keyword Script|Keyword]]'s data on this location.
**Sets the specified [[Keyword Script|Keyword]]'s data on this location.
== F4SE Member Functions ==
*EncounterZone Function [[GetEncounterZone - Location|GetEncounterZone]](bool abRecursive = False)
**Returns this location's encounter zone.
*Location Function [[GetParent - Location|GetParent]]()
**Returns this location's parent.
*Function [[SetEncounterZone - Location|SetEncounterZone]](EncounterZone akEncounterZone)
**Set this location's encounter zone.
*Function [[SetParent - Location|SetParent]](Location akLocation)
**Set this location's parent.


== Events ==
== Events ==
Line 61: 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