make "magnetize power affect All strikecrafts

Hello,

I'm currently modding sins v1.95 and I'm strugling to get the magnetize power to affect all strikecrafts (enemy and allied)

Currently it only affects enemy strikecrafts

Here's a part of the buff file:

 overTimeAction
 buffOverTimeActionType "Magnetize"
 targetFilter
  numOwnerships 1
  ownership "Enemy"
  numObjects 1
  object "Fighter"
  numConstraints 0
 range

I tried to change the enemy in bold by "all" the mod lauched and I was able to use the ability, but my strikecrafts didn't collide into the enemy frigate.

As I tested at the very start of a game I had no enemy strikecraft to test the ability against them.

Help please :)

4,434 views 4 replies
Reply #1 Top

It should read:

numOwnerships 2

ownership "Enemy"

ownership "Friendly"

:)

Reply #2 Top

Thanks I'll try that ;)

I'm currently trying by removing those two lines:

  numOwnerships 1
  ownership "Enemy"

I'll tell you the result :)

 

Reply #3 Top

That won't work :P There's only one way to do it, and the targetFilter must have at least one ownership parameter.

Reply #4 Top

Ok thanks :)

I'll do it your way.