![]() ![]() (moving and other ai related actions will need to be turned off and you may also want to remove things like collisions. It's likely more complex to turn off all the actions the object would normally be performing when it was alive than to create another object. ![]() I'd suggest using a death animation object if you want to strip the object in quest of properties. The hitbox setup is complete (for the actual object). notation allows you to access specific variables from another instance while still working in the current instance. When an object is destroyed, like we are doing above, the destroy event will be called (if present). with statement access the specified instance or object(s) and anything within in will act as though it's happening within an event in the specified object, best for when you want to pass hard numbers not variables (ie 10, 1. Var death_obj = instance_create(x,y,oDeathAnimation) example of how to pass variables on instance creation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |