Jump to content
ztz2019

Any way to utilize modelcondition to influence attribute?

Recommended Posts

Such as the harvester, it could change speed by carry weight.

 

Spreading to all objects, is there a way to change AttributeModifier by ModelCondition?

 

I know health point could influence upgrade and attribute by DamageTrigger and (Really)DamagedAttributeModifier, (Really)DamagedAttributeModifier means attribute can be changed by the modelcondition Damaged and ReallyDamaged, but how about other ModelCondition?

Share this post


Link to post

Lua.

How?

ObjectTestModelCondition not effective when 1st time, must remove and change modelconditon again could show difference.

Share this post


Link to post

How?

ObjectTestModelCondition not effective when 1st time, must remove and change modelconditon again could show difference.

 

Did you also try to use a ModelConditionEvent?

Share this post


Link to post

Did you also try to use a ModelConditionEvent?

That what my problem is, I don't know how InternalEvent and ModelConditionEvent work or the relationship between ModelConditionEvent and xml.

 

Such as <InternalEvent Name="OnUnitEntered" /> and <InternalEvent Name="OnTeamEntered" /> in scriptevents.xml, there's no other "OnUnitEntered" in xml or xsd or .lua files, so how this tag works in game?

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×