I did warned you that it won't be something simple...
Here you have a script to test the "Glow's Animation".
- Place in a cell your actor and a lever.
- Link the lever to the actor, exactly as you would do with any other activator.
- Place this "Testing Script" to the "Base Actor".
- Now COC to the cell and activate the lever, if everything is functional you should see the glow turning ON when you activate the lever, and then OFF when you activate the lever again.
Bool Property isActivated = False Auto Hidden
EVENT OnActivate(ObjectReference actronaut)
If ( isActivated == False )
isActivated = True
Self.PlayAnimation("playanim02") ;Turn On Glow
isActivated = False
Self.PlayAnimation("playanim01") ;Turn Off Glow
EDIT: i just added a notification to be displayed so that you can see that the script is firing.
Edited by maxarturo, 18 May 2021 - 07:05 AM.