Hows Everybody Like LUA?

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Coiler12
Posts: 1268
Joined: Sat Oct 12, 2013 10:11 pm
Contact:

RE: Hows Everybody Like LUA?

Post by Coiler12 »

ORIGINAL: Volksjager_cn

I use the AssignUnitToMission extensively and see the AI has much nicer reactions based on the game situation. I like it.

I do however, would like to have a trigger request. Maybe belong to a different thread. Is it possible to have a trigger based on how many units destroyed/damaged? For example, I can based on the number of aircraft damaged and determine if the air superiority has been achieved.

Thanks

There's a way to do it in Lua itself (ask the people who know something about it), but you can use a points and non-player side setup to do such a system in the initial event editor (Side A destroys something from Side B, Side C scores a point, once Side C reaches a certain number of points, that triggers another event)
nogravity
Posts: 66
Joined: Fri Jun 15, 2012 12:02 am

RE: Hows Everybody Like LUA?

Post by nogravity »

Ah, you are right, I forgot about the points and using that to determine the status. Thank you Coiler12.
User avatar
Mgellis
Posts: 2465
Joined: Sat Aug 18, 2007 2:45 pm
Contact:

RE: Hows Everybody Like LUA?

Post by Mgellis »


I'm very happy with this addition to Command. Thank you!

Pros...

Adds some really useful new options like being able to modify weather, change missions, add units, etc.

Am I correct that additional features/actions (e.g., changing the damage level on a ship) will eventually be added?

Cons...

A little more work at times (although the coding does not seem to be very difficult, so far). The benefits more than make up for this, though.

Post Reply

Return to “Command: Modern Operations series”