aptomix Posted November 28, 2009 Posted November 28, 2009 Sorry if it's not a correct thead for such theme, but i broke my head with my problem. Is it anyway possible by script code to get count of hits on player made by specified creature type or faction? I tried to do it like perk with ability and effect script with "on hit" begin block and "GetInFaction" condition. It does not work. sorry if my english is bad.
BEArbiter Posted November 29, 2009 Posted November 29, 2009 Do you mean , how many people have hitted you? or how many YOU have hitted
aptomix Posted November 30, 2009 Author Posted November 30, 2009 I mean i need a count of how many hits was done ON YOU by specified creature type (Faction)
gsmanners Posted November 30, 2009 Posted November 30, 2009 OnHit only really works with an actor script, and it occurs after the actual hit, so I'm not sure how you would accomplish this. I think its intended usage is to determine whether NPCs have been hit by the player or a companion. I'm not even sure you can modify the player's script, but if you can you could use the OnHit block to count the number of hits total. Your script would have to guess who inflicted the hit (I can't see having an OnHit block for every ActorRef in the game). More of a bother than it's worth IMHO.
Recommended Posts