LUA events script.
Posted: Sun Oct 04, 2020 6:52 pm
I've scoured forum for an example to no avail.
With LUA from a special action key I have:
Set and Event.
Set a trigger. (unit remains in area)
This fires an action which throws up a message. So far so good.
But trying to get a LuaScipt action to no avail. How is it written into the Seteventaction?
How exactly is the Scriptext written into the Seteventaction?
I'm trying to get one special action to add an aircraft which flies to a destination stays on the ground there for 1hr then changes sides from Neutral to Player.
I can get this to happen in LUA in isolation but not a one sequential event?
Any help much appreciated and in the context of even the beginners LUA examples being quite challenging.
Thanks.
K
With LUA from a special action key I have:
Set and Event.
Set a trigger. (unit remains in area)
This fires an action which throws up a message. So far so good.
But trying to get a LuaScipt action to no avail. How is it written into the Seteventaction?
How exactly is the Scriptext written into the Seteventaction?
I'm trying to get one special action to add an aircraft which flies to a destination stays on the ground there for 1hr then changes sides from Neutral to Player.
I can get this to happen in LUA in isolation but not a one sequential event?
Any help much appreciated and in the context of even the beginners LUA examples being quite challenging.
Thanks.
K