18 lines
394 B
Plaintext
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
|