Page 1 of 1

Using "Elite" difficulty in LUA

Posted: Sun Nov 01, 2009 8:38 pm
by Sky_216
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.

Re: Using "Elite" difficulty in LUA

Posted: Sun Nov 01, 2009 11:07 pm
by [RDH]Zerted
I've never used it, but I think this is what you want: ScriptCB_GetDifficulty()

Re: Using "Elite" difficulty in LUA

Posted: Mon Nov 02, 2009 4:20 am
by Sky_216
Tested it out, works fine (used max fly height to check).

What's the code/function needed to give a team advanced blasters though?

Re: Using "Elite" difficulty in LUA

Posted: Mon Nov 02, 2009 10:26 am
by [RDH]Zerted
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