[Solved] Buildings with enable_secure modifier via ability

Talk about CoH1 or BKMOD1 in general.
Post Reply
Kettleton
Posts: 2
Joined: 26 Aug 2017, 16:22

[Solved] Buildings with enable_secure modifier via ability

Post by Kettleton »

I'm aiming for granting the building (glider based on glider_tetrach) an ability that, through a self-owned upgrade, would secure the territory.
The strange thing is it secures the territory that's in the middle of the map instead.

I tried doing a move_action and set_move_data but still to no avail.

I hope this is the proper forum for this post, if it is not, I hope a mod would kindly move it.

Edit: I also already tried activate_extension_action to activate territory_ext and supply_ext in several permutations extensions, none worked.
Last edited by Kettleton on 10 Sep 2017, 18:13, edited 1 time in total.

Kettleton
Posts: 2
Joined: 26 Aug 2017, 16:22

Re: Buildings with enable_secure modifier via ability

Post by Kettleton »

Problem solved by adding moving_ext. Make sure to set moving and rotation (not sure if the first is necessary) to 0 to prevent the glider from rotating when setting rally point with the right click. I think it's fitting to set pass type to land_only, particularly hearing how the glider used to deal damage on landing in previous version.

Edit: Right clicking will be set to move, instead of set rally point command, by default unless move_enable_modifier is set to -1.

Post Reply