1- give_obj_weapon command: I have tried to use this command to give my character a specific item with -1 ammunition qty everytime it is used; the idea is for an item that uses charges, that item is defined as the restock obj, the syntax I tried was
Unfortunately Noid's compiler is refusing to compile that line in the script, resulting in the following error message:op_give_obj_weapon(op_dude_obj(), restock_obj, 38, -1, wield_me);
2- Defining ammunition qty on a wielded weapon:, is there a way to do this?, or a Metarule that defines it, etc.op_give_obj_weapon used before definition.
I found proto_data command but when I looked for the data_member definitions, couldn't find one for ammo.
Any help would be appreciated.
Thanks in advance.