VgaGames4

VgaGames4 - object man-pages

[.. upper level ..]

# vg4->object->destroy_objid()

Destroy all object-instances of an object-ID.

SYNTAX
void vg4->object->destroy_objid(void *vgame, const char *objid, int subid)
FUNCTION PARAMETERS

vgame | Private structure of the game, or NULL if not existing
objid | Object-ID, or NULL = all object-instances
subid | Sub-ID for object-ID, or 0 = don't check sub-ID

DESCRIPTION
Destroy all object-instances of an object-ID. This function does all the stuff vg4->object->destroy() does, but for all object-instances which belong to the object with objid.
SEE ALSO
vg4->object->destroy() vg4->object->destroy_except() vg4->object->destroyall()