| 08-15-2005, 08:14 AM | #1 |
I'm making a equip system. My problem is that a condition isn't working right. Here is the condition: Item_Main[(Player number of (Owner of (Hero manipulating item)))] Equal to No item Here is the action that sets the variable Item_Main Set Item_Main[(Player number of (Owner of (Hero manipulating item)))] = (Item being manipulated) It is thinking that Item_Main for the owner of hero manipulating item is equal to no item How do I fix this? |
| 08-15-2005, 12:19 PM | #2 |
when the 'Hero Gains An Item' (or whatever its called) event occurs the hero hasnt got the item yet. the item is actually placed a milli second later (or faster), its not instantly though. |
| 08-15-2005, 02:19 PM | #3 |
This is for when the hero uses an item not when a hero gains an item. I found the problem is in the set variable action for Item_Main I tried setting it to Set Item_Main[(Player number of (Owner of (Hero manipulating item)))] = (Item carried by (Hero manipulating item) of type Onion Sword) but that didn't work and neither does Set Item_Main[(Player number of (Owner of (Hero manipulating item)))] = (Item being manipulated) Please help me. |
