Forum

> > CS2D > Scripts > How to destroy building without explosion
Forums overviewCS2D overview Scripts overviewLog in to reply

English How to destroy building without explosion

8 replies
To the start Previous 1 Next To the start

old Re: How to destroy building without explosion

Devil-Thanh
GAME BANNED Off Offline

Quote
first..... try to find object's possision ( tilex and tiley of the object)

x = ...
y = ...

then use this

for i=1,#object(0,"table") do
     if object(i,"tilex")==x and object(i,"tiley")==y then
          parse("killobject "..i)
     end
end

I think it works
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview