Jump to content

Script


aptomix

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...