Page 2 of 2

Re: Lua question

Posted: Wed Jan 26, 2022 9:09 am
by asuser
I tried spawning a plane with a skin and an insignia. The skin works, the insignia don't. The error message "insignia is only readable" appears. What does that mean? Has it not yet been implemented functionally?

Re: Lua question

Posted: Wed Jan 26, 2022 10:30 am
by peterw
I tried it a bit different, but without success too:
In “normal” wave script I assigned a Landing Craft instead of a truck. You see then the Landing Craft but without fuel.
Or with other words I had to place all spawned units at the coast. In this way the units can move to the land...

May be with the Pacific DLC there will be an improvement.

Re: Lua question

Posted: Thu Feb 10, 2022 4:53 pm
by asuser
I experimented with sound effects for the game...

Is it possible to bring out a spoken message with sound via LUA command, i.e. to play a sound file in addition to a message box?

What is the right command for that and how to put the sound file into the game directory?

Re: Lua question

Posted: Mon Feb 21, 2022 6:24 am
by asuser
In the editor you can set the starting orientation for units, for example east, west, etc.
Is there also a corresponding LUA command for spawned units?