Need ODF help :) -1 reply

Please wait...

Matrix-Virus

I don't spend enough time here

50 XP

23rd December 2002

0 Uploads

24 Posts

0 Threads

#1 13 years ago

I am making a weapon that shoots a wave out and repels any ships in the area, however, it also hits friendly ships/stations. How can I make it hit ONLY enemy ships. Note the I have tried putting safe = 1 and hitFriends = 0 in both the main weapon and ord .ODF's

Any help is appriciated and will recieve some thanks if I release it.




Twitch1

The Borg will rock your world!

50 XP

3rd December 2003

0 Uploads

319 Posts

0 Threads

#2 13 years ago

Thy this in the weapon ODF at the end

// We need a target //needTarget = 1 needTarget = 0

switchToAttack = 1

// HIT_EVERYONE = 0, // HIT_ALLIES = 0, // HIT_ENEMIES = 2 hitCondition = 2

// set target restrictions targetAlliedCraft = 0 targetAlliedBuildings = 0 targetEnemyCraft = 1 targetEnemyBuildings = 1

Idea.gif




Matrix-Virus

I don't spend enough time here

50 XP

23rd December 2002

0 Uploads

24 Posts

0 Threads

#3 13 years ago

Thanks Twitch :D