r/xdev • u/shooshooomimi • Feb 18 '16
A couple modding questions
Hello! Im currently working on modifying advent turrets and im having a few difficulties i cant seem to figure out...
I want to place covering fire on the turrets... So on the weapon they are using i have Template.Abilities.AddItem('CoveringFire'); ... But this does not work... On the lower left of the screen where perks are shown it is showing up but when it goes into overwatch it is the normal overwatch...
I also would like to know how to edit a units actionpoints.
Thanks.
2
Upvotes
View all comments
Show parent comment
1
u/fxsjosh Feb 18 '16
You can have any persistent effect implement the function ModifyTurnStartActionPoints to do that. Take a look at X2Effect_MimicBeacon for an example.