All my local variables work as intended and have all the correct values (even tested without any variables).
All the unit orders are executed as they should be, it shows, it start moving. it stops, it unload, it goes back. I know this because i removed the wait command and the hide unit command.
When i add the Hide command at the end of the list then it show/hide the unit directly, ignoring all commands between and visual effect of it is like nothing happen.
When i add the wait command, then the wait command starts DIRECTLY when the unit is shown and not when the unit has unloaded as it should do. This means that wait timer finish before the unit has even started to unload.
If i add both the wait command and hide unit command then the hide command waits for the wait command to finish and THEN it hide the unit no mater what.
Both the wait command and Hide command ignores all the unit order commands
In short:
All unit action commands (orders) can see the "wait" action command and see each other.
The wait command don't see ANY other command and start like it was first command in line.
The main problem is the General - wait command and the unit show/hide command. Why does it not work as intended and execute in order?
All the unit orders are executed as they should be, it shows, it start moving. it stops, it unload, it goes back. I know this because i removed the wait command and the hide unit command.
When i add the Hide command at the end of the list then it show/hide the unit directly, ignoring all commands between and visual effect of it is like nothing happen.
When i add the wait command, then the wait command starts DIRECTLY when the unit is shown and not when the unit has unloaded as it should do. This means that wait timer finish before the unit has even started to unload.
If i add both the wait command and hide unit command then the hide command waits for the wait command to finish and THEN it hide the unit no mater what.
Both the wait command and Hide command ignores all the unit order commands
In short:
All unit action commands (orders) can see the "wait" action command and see each other.
The wait command don't see ANY other command and start like it was first command in line.
The main problem is the General - wait command and the unit show/hide command. Why does it not work as intended and execute in order?
Last edited by a moderator: