2025-11-24 12:25 CET

spring: develop eec0e966 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
imbaczek imbaczek develop 2007-11-14 20:47:41 develop bc479899
Changeset patch by KDR: add TargetWeightX COB call-in and CHANGE_TARGET cob set var

COB call-in TargetWeightX(targetID, weight), weight defaults to 65536 which represents 1.0 and is multiplied with the target's value to determine priorities.

set CHANGE_TARGET to Y makes weaponY pick a new target.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4788 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/GameHelper.cpp Diff ] File ]
mod - rts/Sim/Units/COB/CobFile.cpp Diff ] File ]
mod - rts/Sim/Units/COB/CobFile.h Diff ] File ]
mod - rts/Sim/Units/COB/CobInstance.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.h Diff ] File ]