Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
541 B
20 lines
541 B
4 months ago
|
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
|