ragnaroklucifer Posted March 23, 2014 Share Posted March 23, 2014 As you all know you can attach scripts to a perk but there is no perk event or any extra functions for a perk form. So why is it even there? If you attach a script to it, what can/does it even do? Link to comment Share on other sites More sharing options...
jaxonz Posted April 24, 2014 Share Posted April 24, 2014 I used a script for the tracer arrows perk in a recently published mod. You are perhaps forgetting that a Perk script is still a Form, so it can receive OnInit and other form functions. I used the OnInit to RegisterForPlayerAction, so that the script receives an event when a bow/crossbow is shot. The script is only executed if the player has the perk. This turned out to be really useful. Not sure if there are any native perks that use scripts. Link to comment Share on other sites More sharing options...
Recommended Posts