21 lines
539 B
Plaintext
21 lines
539 B
Plaintext
Scriptname _00E_MQ12b_CatapultStrikeChangeBoxSC extends ObjectReference
|
|
{Manages the behaviour of the catapult strikes}
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If akActionRef == Game.GetPlayer() && MQ12b.IsRunning()
|
|
MQ12b.UpdateCatapultStrikes(__Config_LocationName)
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
String Property __Config_LocationName Auto
|
|
{Set this to the name of the location this triggerbox marks}
|
|
|
|
; Valid location names are:
|
|
; "Market"
|
|
; "UpperCity"
|
|
; "LowerDistrict"
|
|
; "HarborDistrict"
|
|
|
|
_00E_MQ12b_Functions Property MQ12b Auto |