Create event: Execute a piece of code: itemStatus = 0; // determines whether item is dragged(1) or not dragged (0) + some step event code
Create event: Execute a piece of code: itemStackType = string("weapon"); // defines a stack type of item (specifies the slot in inventory able to carry this item)
From what I've caught up about parent objects, the children objects should behave like the parents, thus obj_sword should have a variable itemStatus declared, however, this is not happening - when I run the game, a pop-up alert says that itemStatus is not defined.
Note: It only is happening if there's no event in obj_sword, so there basically must be some kind of collision between the inherited create event and the create event in obj_sword. It is not possible to combine these?
Edited by Ford, 28 December 2007 - 03:51 PM.