2025-07-31 20:15 CEST

spring: develop 3c06bbfc Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
KDR_11k KDR_11k develop 2007-12-15 17:02:11 develop d7c7a6a5
Changeset * added Lua SyncedCtrl function Spring.SetUnitMoveGoal(unitID, posX, posY, posZ[, radius[, speed]]), this makes the unit move closer to the target location, to a distance of <radius> (default 0). This is mostly for custom commands that should have the unit moving into range, it doesn't affect the order queue. It's marked as unsafe for now just in case, I haven't tested if that's really necessary.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5005 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.h Diff ] File ]