Mansh00ter Posted March 4, 2012 Posted March 4, 2012 I am toying with some interesting concepts for combat overhaul, but what I'd like to know is if there is an easy, straightforward way to make a certain script run on any actor in the game, so that when either the player gets hit by something or the player hits something, a proper event is registered and code can be executed? I would like to avoid having to attach a script to every weapon or actor in the game, so if there is some way to do it globally and automatically, I would love to hear about it. I suspect I should attach this script to the player via quest, but would appreciate if anyone with know-how could explain if onHit events can be attached to the player in such a way. And it is vital that it works both ways, so that I can detect and reference both the actor being hit and the actor doing the hitting.
Korodic Posted March 4, 2012 Posted March 4, 2012 I don't think it can be done :( and if u did, it'd only apply to vanilla weapons. I was thinking useing keywords and a generic script on each item is as close as you'd get.
Recommended Posts