Using "Elite" difficulty in LUA
Moderator: Moderators
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Using "Elite" difficulty in LUA
Just wondering...is it possible? I know you can use SetDifficulty to make the AI shoot better, but I'd also like to use a function to check if difficulty is on "hard", and if so add the advanced blaster bonus to both sides.
- [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: Using "Elite" difficulty in LUA
I've never used it, but I think this is what you want: ScriptCB_GetDifficulty()
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Using "Elite" difficulty in LUA
Tested it out, works fine (used max fly height to check).
What's the code/function needed to give a team advanced blasters though?
What's the code/function needed to give a team advanced blasters though?
- [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: Using "Elite" difficulty in LUA
If you searched the FAQ topic for bonus, it would have directly lead you to this topic: http://www.gametoast.com/forums/viewtop ... 27&t=12015
