Is there a way how I can make one of my units only playable by a human without making him a "hero".
I've set the max for this unit to 1 but I've noticed sometimes a "computer player" (AI AKA NPC) will take this spot.
How do I make a Humun only class
Moderator: Moderators
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
-
DroidekaWarrior
- Posts: 4
- Joined: Fri Jun 12, 2015 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How do I make a Humun only class
Try making min/max 0 and 0.
Human can use it but restricted for bots.
Human can use it but restricted for bots.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: How do I make a Humun only class
MAybe you can check with an lua script if the player is a human or not. And if it is not a human you kill him.
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
Re: How do I make a Humun only class
setting the two numbers to zero does not work because it says "there are to many units"
so how do I set up the scrip like your saying Anakin
so how do I set up the scrip like your saying Anakin
-
razac920
- 2nd Lieutenant

- Posts: 365
- Joined: Sun Jan 16, 2011 12:42 am
Re: How do I make a Humun only class
The numbers are a cap for humans as well if there is a point limit
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
Re: How do I make a Humun only class
I forgot to tell you guys , my unit is unlocked through points so for some reason when his numbers are " 0, 0 "
and when he's unlocked through points it says "there are to many units"
and when he's unlocked through points it says "there are to many units"
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: How do I make a Humun only class
A better (but harder) way than killing any AI that spawns as the wrong unit would be to move all AI onto a 3rd team that's an ally of the first.
However there should be a way to get it working without the trickery.
However there should be a way to get it working without the trickery.
-
nobody3
- Rebel Sergeant

- Posts: 188
- Joined: Wed Jun 15, 2011 8:30 am
Re: How do I make a Humun only class
remove pointtounlock from unit odf...
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
Re: How do I make a Humun only class
I don't wanna remove the point lock that's the thing,
I guess its ok if one of these units are running around at times.
thanks for the help everyone
