Hi ppl!
I'm new to scripting and I can't manage to make a ONSPowerCore to trigger an event when it has taken damage and I would like help.
I wanted to make it like RedActivationName, BlueActivationName, and DestroyedEventName in the Events tab of Actor Properties.
The most I could figure is the code should have TriggerEvent(); and belong somewhere in Function TakeDamage() of ONSPowerCore.
I'm new to scripting and I can't manage to make a ONSPowerCore to trigger an event when it has taken damage and I would like help.
I wanted to make it like RedActivationName, BlueActivationName, and DestroyedEventName in the Events tab of Actor Properties.
The most I could figure is the code should have TriggerEvent(); and belong somewhere in Function TakeDamage() of ONSPowerCore.
Comment