Ako 0 Posted July 1, 2002 I have noticed that in the editor after installing resistance, there is a new button which shows IDs on the map. For a mission which i am creating i would like to mission to fail if any part of the bridge is destroyed. So is there anyway to manipulate the ID of the bridge parts, in either, setting the ID a name so that u can use getdammage <name>, or been able to getdammage directly from an ID number. If anyone can shed any light on this plz do so Also i hope that BIS create a new scripting reference as there are many new commands / weapon / unit names since the last reference was created! Share this post Link to post Share on other sites
NEO -PZ- 0 Posted July 1, 2002 Ah, first (afaik) 'bridge mission' is being produced... There will be many I guess. Share this post Link to post Share on other sites
Spinor 0 Posted July 1, 2002 There is a new command in resistance called Object. It takes the ID number (as shown on the map) and returns the actual object. Use it like _object = Object ID-number But take care with this command, I once used a wrong ID and the game crashed. With _object you can now do all the usual stuff like GetDammage _object GetPos _object Someone even mentioned you can use SetPos. Share this post Link to post Share on other sites