Forum

> > CS2D > Scripts > freeimage() vs killobject()
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch freeimage() vs killobject()

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: freeimage() vs killobject()

DC
Admin Off Offline

Zitieren
Yes, there are differences.

cs2d cmd killobject does checks related to killing other objects than images, especially buildings. Like rewards, punishments and effects when killing a building. It does NOT remove tweens associated with the image.

cs2d cmd freeimage does not do all these checks but only removes tweens associated with that image.

So when using both with images the main difference is that tweens are not removed with cs2d cmd killobject. This is most likely nothing you want to happen. Therefore I recommend to just always use cs2d cmd freeimage to remove images and not cs2d cmd killobject.

There most likely isn't any relevant difference in peformance/traffic.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht