Untitled Document

SP GLUE SYSTEM (SystemID , ObjectID, limbID ,Rotateflag , DeleteFlag)
DESCRIPTION:
Glues the system to an existing DBPro object. The object can be a primitive or a loaded model.Attach smoke system to Train smokestack or fog systems to train cylinders , or flame systems to torches ... The System will follow youre DBPro Object. If the Rotateflag is set to 1 the system will rotate with the Object.If delete flag is set to 1 the system is also deleted when the object is deleted If set to 2 the system will stop emit particles when the object is deleted but will wait till the last active particle is died , then deletes itself , if set to 0 the system is only unglued not deleted
PARAMETERS:

- SystemID - The ID of the System
- ObjectID - The DBPro object ID (The object must exist or you will get an "Object does not exist at line..." error.
- LimbID - The limbID of the object.If you want to glue a system to the main object set this to 0
- Rotateflag - if set to 1 the system will rotate with the object .If 0 the system will only follow the object but not rotate
- DeleteFlag - If delete flag is set to 1 the system is also deleted when the object is deleted If set to 2 the system will stop emit particles when the object is deleted but will wait till the last active particle is died , then deletes itself , if set to 0 the system is only unglued not deleted.

BACK TO MAIN HELP
BACK TO SYSTEM HELP