Forum

> > CS2D > Scripts > Building Replace
Forums overviewCS2D overview Scripts overviewLog in to reply

English Building Replace

2 replies
To the start Previous 1 Next To the start

old Building Replace

Syph
User Off Offline

Quote
can i replace a building with parse command spawnobject ?
like theres a building at X1 Y1 (turret for a example) can i replace it or i have to destroy it then do the command?

old Re: Building Replace

Syph
User Off Offline

Quote
ok , but when theres already a building i can know it id cuz the hook but how can i get the id again if i use destroy and construct another ? will the command return with the object id ?

Edit : Forget it im going to make a function for that , btw thank you
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview