Fix variables for unit scripting

Fix variables for unit scripting

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Rayden
Posts: 377
Joined: 01 May 2005, 13:15

Fix variables for unit scripting

Post by Rayden »

Does "get PIECE_XZ(name)" work in TA:Spring? If yes, what does it return?
Fnordia
Former Engine Dev
Posts: 425
Joined: 13 Aug 2004, 16:11

Post by Fnordia »

As far as I can tell it works like its OTA counterpart, returning the X and Z coordinates of the piece in world coordinates.
Post Reply

Return to “Engine”