Forum

> > CS2D > Scripts > Remove Building on X Y | Check HP of Building
Forums overviewCS2D overview Scripts overviewLog in to reply

English Remove Building on X Y | Check HP of Building

6 replies
To the start Previous 1 Next To the start

old Remove Building on X Y | Check HP of Building

AtomKuh
User Off Offline

Quote
Hey,

is it possible to remove a building on a particular X Y position without any kind of explosion? I need a script that is like the opposite of spawnobject.
Secondly, is it possible to check the current HP of a building?

Thanks in advance!

old Re: Remove Building on X Y | Check HP of Building

Cure Pikachu
User Off Offline

Quote
• If the building is anything but a Turret (and it's upgraded versions)/Dispenser/(Super) Supply, use cs2d cmd killobject. Otherwise, nope, not possible.
•
object(oid,"health")
, where
oid
is the object ID. How you get the object ID will largely depend on what parameters the hook provides.
edited 1×, last 07.04.17 06:19:27 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview