enderalse/source/scripts/_00e_showmessageonactivate.psc

18 lines
394 B
Plaintext

Scriptname _00E_ShowMessageOnActivate extends ObjectReference
{Shows a message - debug or message box - on activate!}
Event OnActivate(ObjectReference akActionRef)
If akActionRef == PlayerREF
If BoxToShow != NONE
BoxToShow.Show()
Else
Debug.Notification("property BoxToShow was not filled")
EndIf
EndIf
EndEvent
Message Property BoxToShow Auto
Actor Property PlayerREF Auto