I really need some coding help:
In Lai_events
under LAi_CharacterAttack()
I want to unequip the gun under certain (blade-) conditions:
1) if(CheckAttribute(attack, "equip.blade") && attack.equip.blade == "blade1")
{
RemoveCharacterEquip(attack, GUN_ITEM_TYPE);
}
2) RemoveCharacterEquip(attack, GUN_ITEM_TYPE );
1) doesn´t work but 2) on it´s own does.
I´ve tried a lot of variations but no use when you not "speak the language".
What to do? Please help, this may be a fun thing. <img src="style_emoticons/<#EMO_DIR#>/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" />
In Lai_events
under LAi_CharacterAttack()
I want to unequip the gun under certain (blade-) conditions:
1) if(CheckAttribute(attack, "equip.blade") && attack.equip.blade == "blade1")
{
RemoveCharacterEquip(attack, GUN_ITEM_TYPE);
}
2) RemoveCharacterEquip(attack, GUN_ITEM_TYPE );
1) doesn´t work but 2) on it´s own does.
I´ve tried a lot of variations but no use when you not "speak the language".
What to do? Please help, this may be a fun thing. <img src="style_emoticons/<#EMO_DIR#>/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" />