Attaches a Visual Script to the target object. You can select which script to attach in the properties. Don't leave the 'name' property empty, otherwise it won't work.
Inputs
activate
Adds a vs-ref.
deactivate
Removes a vs-ref.
Outputs
finish
Signals when the ref is attached (! not detached).
One should use the "finish" pin carefully. It produces a signal when the ref is attached but that doesn't mean the vs-ref is already active: the script requires one more linked frame in order to start working.
Refs
target
Target objects.
Properties
Name
String id.
Disable Qsave
Disables quick-save for the attached ref.
VS
Script name.
Also can contain exposed properties of the ref attached.
Usage examples
While the game is loading, we detach selected old scripts and attach the new one –water_death.