LUS: StartTurn
Posted: 02 Mar 2017, 22:45
Along the lines of StartMove and StopMove, feasible or not?
Seems like https://github.com/spring/spring/blob/d ... e.cpp#L591 (for example, no idea if it would be the best place) knows when a turn is happening:
Seems like https://github.com/spring/spring/blob/d ... e.cpp#L591 (for example, no idea if it would be the best place) knows when a turn is happening:
- would it be called too often to be engine-side call to unit script?
- Is there overhead if the function is not used within any scripts?
- Is the best solution to just use polling of heading/direction where required?