Page 1 of 1

Human-only unit?

Posted: Sat Jul 10, 2010 11:55 pm
by Darth_Squoobus
Is it possible to make a non-hero unit that's only accessible to humans and off-limits AI?

Re: Human-only unit?

Posted: Sat Jul 10, 2010 11:59 pm
by sim-al2
Example:
special = { "rep_inf_ep3_jettrooper",0, 0}

Should be that, can't quite remember if those numbers only affect ai or have other effects.

Re: Human-only unit?

Posted: Sun Jul 11, 2010 12:59 am
by Darth_Squoobus
sim-al2 wrote:special = { "rep_inf_ep3_jettrooper",0, 0}

Should be that, can't quite remember if those numbers only affect ai or have other effects.
I see AI jet troopers all the time. I don't think that's it.

Re: Human-only unit?

Posted: Sun Jul 11, 2010 1:13 am
by fasty
No, he is correct. Set your unit to have that in the .lua and you should be fine.

Re: Human-only unit?

Posted: Sun Jul 11, 2010 1:16 am
by sim-al2
Darth_Squoobus wrote:
I see AI jet troopers all the time. I don't think that's it.
Yeah fasty's right I just chose the jettrooper as an example.

Re: Human-only unit?

Posted: Sun Jul 11, 2010 1:54 am
by Darth_Squoobus
sim-al2 wrote:
Darth_Squoobus wrote:
I see AI jet troopers all the time. I don't think that's it.
Yeah fasty's right I just chose the jettrooper as an example.
Gotcha. Lookslike I can make that suicide unit after all.