Setting A Ready Time, Is There A LUA script that does this?
Posted: Wed Nov 29, 2017 8:40 am
Guys,
Im sorry to continually ask for help with LUA, I was wondering is there a way to set a units ready time?
I had a look to see in the LUA script options if there was and if there is I cant see it.
Heres what am trying to do, I have a Scenario where I want the player to choose the loadout, but dont want to wait the 6 hrs for the armourers to do their thing. So I was thinking that maybe something along the lines of
ScenEdit_SetUnit({unitname=Aplha 1},{readytime='00:01:00'})
That would make Aircraft Alpha 1 ready after 1 hour of the event being fired.
Would that work?
I am very slowly guys getting a feel for LUA, but its slow in my case, I was wondering what parameters does the ScenEdit_SetUnit allow you to set? Is there a list somewhere?
Kind Regards
Butch
Im sorry to continually ask for help with LUA, I was wondering is there a way to set a units ready time?
I had a look to see in the LUA script options if there was and if there is I cant see it.
Heres what am trying to do, I have a Scenario where I want the player to choose the loadout, but dont want to wait the 6 hrs for the armourers to do their thing. So I was thinking that maybe something along the lines of
ScenEdit_SetUnit({unitname=Aplha 1},{readytime='00:01:00'})
That would make Aircraft Alpha 1 ready after 1 hour of the event being fired.
Would that work?
I am very slowly guys getting a feel for LUA, but its slow in my case, I was wondering what parameters does the ScenEdit_SetUnit allow you to set? Is there a list somewhere?
Kind Regards
Butch