20 lines
541 B
Plaintext
20 lines
541 B
Plaintext
Scriptname _00E_BlueprintControlAlias extends ReferenceAlias Hidden
|
|
|
|
auto state Waiting
|
|
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
|
|
if ! (akBaseItem as MiscObject) || ! akBaseItem.HasKeyword(Blueprint)
|
|
return
|
|
endif
|
|
GotoState("DoNothing")
|
|
_00E_BlueprintCollectionItemRef.Activate(GetReference())
|
|
Clear()
|
|
EndEvent
|
|
endstate
|
|
|
|
state DoNothing
|
|
endstate
|
|
|
|
Keyword Property Blueprint Auto
|
|
|
|
ObjectReference Property _00E_BlueprintCollectionItemRef Auto
|