Search found 12 matches

by LorenAgus
Mon May 29, 2023 7:42 pm
Forum: Lua Legion
Topic: Random artillery fire
Replies: 2
Views: 501

Re: Random artillery fire

Sorry, but the first line is missing "})". It should look like this:

local N = ScenEdit_GetReferencePoint( { side="RUSSIA", name="ART1"} )
by LorenAgus
Mon May 29, 2023 7:29 pm
Forum: Lua Legion
Topic: Random artillery fire
Replies: 2
Views: 501

Random artillery fire

Hello. First of all, sorry for my English. I am not an LUA expert. Until now I have only asked questions, but thanks to what I have learned in this forum, I have been able to make a small script and I would like to share it in case it helps someone.
Surely there will be other, more efficient ways to ...
by LorenAgus
Wed May 17, 2023 6:10 pm
Forum: Lua Legion
Topic: BOL capability
Replies: 0
Views: 521

BOL capability

Hello!!

Is there a way to make an artillery battery have BOL capability?

Thanks.
by LorenAgus
Sun May 29, 2022 9:41 am
Forum: Lua Legion
Topic: Attack a specific unit
Replies: 3
Views: 755

Re: Attack a specific unit

thanks for the answer, it has been very helpful.
by LorenAgus
Sun May 29, 2022 9:34 am
Forum: Mods and Scenarios
Topic: My first scenario
Replies: 1
Views: 407

My first scenario

I share a scenario. I know that it is not the best way to program it, but I am very new and I have done it trying to solve the problems that were presented to me in the best way that occurred to me. It is evident that there must be many ways to do this scenario more efficiently and with better ...
by LorenAgus
Sat May 28, 2022 8:27 pm
Forum: Lua Legion
Topic: Attack a specific unit
Replies: 3
Views: 755

Attack a specific unit

This is the situation and for which I cannot find a solution:

Two countries (BLUE and RED). BLUE sends a transport plane to base A. Once it arrives it deploys 3 NASAMS batteries nearby via an event. So far everything is correct.

local h;
h = ScenEdit_AddUnit ({type = 'Facility', name = 'LAUNCH 1 ...
by LorenAgus
Tue Nov 30, 2021 12:42 pm
Forum: Lua Legion
Topic: Ship with embarked aircraft
Replies: 2
Views: 284

RE: Ship with embarked aircraft

Ok, thank you, I will try.
by LorenAgus
Mon Nov 29, 2021 5:09 pm
Forum: Lua Legion
Topic: Ship with embarked aircraft
Replies: 2
Views: 284

Ship with embarked aircraft

<t> Hi, when I create a naval unit with ScenEdit_AddUnit I can't make it appear with embarked aircraft. I have tried the following:<br/>
<br/>
ScenEdit_AddUnit ({type = 'Ship', name = 'BARCO', dbid = 2222, side = "SPAIN", embarkedUnits = {type = 'Aircraft', name = 'COBRA', dbid = 836}, Lat = "44 ...
by LorenAgus
Mon Nov 29, 2021 5:01 pm
Forum: Mods and Scenarios
Topic: Land units
Replies: 3
Views: 322

RE: Land units

<t> The intention was to place different land units in different bases, so that the player had to move them to an advanced base from which to start a landing operation.<br/>
As KnightHawk75 said, the problem was the approved list of cargo-mounts. But I think I already solved it.<br/>
<br/>
Thank ...
by LorenAgus
Mon Nov 29, 2021 10:42 am
Forum: Mods and Scenarios
Topic: Land units
Replies: 3
Views: 322

Land units

<t> Hi, I have a couple of questions about land units when creating a scenario.<br/>
<br/>
1-Is it possible to move units between bases through cargo missions? Because I haven't found a way to do it.<br/>
<br/>
2-How can I make land units appear in a base? I have tried putting, for example ...
by LorenAgus
Thu Nov 25, 2021 12:28 pm
Forum: Mods and Scenarios
Topic: Insert an image to message
Replies: 2
Views: 656

RE: Insert an image to message

Thank you very much for the reply. I think I understood the dynamics.
by LorenAgus
Wed Nov 24, 2021 3:12 pm
Forum: Mods and Scenarios
Topic: Insert an image to message
Replies: 2
Views: 656

Insert an image to message

<t> First of all greetings from Spain.<br/>
I have a question that I cannot find the answer in the forums.<br/>
<br/>
When editing a scenario, I would like to include an image in a message that appears to the player when an X condition occurs. I see the option to include the image, but I can't ...

Go to advanced search