changes.mady.by.user Aubergine
Saved on Feb 20, 2013
Triggered when a droid is recycled or when a structure is demolished by a truck...
function eventObjectRecycled( gameObject ) { // do stuff }
Droid object
Structure object
It's likely that eventDestroyed() will be triggered after this event.
function eventObjectRecycled( obj ) { playSound( obj.type == DROID ? "pcv428.ogg" : "pcv340.ogg" ); }
Requires:
Jump to: