Jump to content
Sign in to follow this  
ravage

How do I make a unit gain the AttributeModifier Bonus when it kills an enemy?

Recommended Posts

 I want to create a "Berserker" typed unit that would gain a temporary bonus while after killing an enemy, but I've looked through the entire AssetTypeWeaponTemplate.xsd and didn't see anything that might achieve that. I thought about using the Dummy object technique, but DamageAndSpawnNugget and WeaponOCLNugget will only spawn the object at the destroyed enemy‘s position, instead of at the attacker like I wanted. Can anyone give me some tips on this? Does this require LUA coding?

 

Share this post


Link to post

damn should post it on the modding sub, sorry

Share this post


Link to post

LUA is the only way I think.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×