hello i want to alter ap costs for reload and burst when dude is using small guns
i assunme that reload isnt present in this hook script,or am i wrong?
and hook readme says :
can someone post an example? i need the pid_obj for the weapon used
have this for starters
is that correct?
i assunme that reload isnt present in this hook script,or am i wrong?
and hook readme says :
Code:
You can get the weapon object by checking item slot based on attack type (ATKTYPE_LWEP1, ATKTYPE_LWEP2, etc) and then calling critter_inven_obj().
can someone post an example? i need the pid_obj for the weapon used
have this for starters
Code:
if (attack_type == ATKMODE_PRI_BURST) then begin
weapon_used := obj_pid(critter_inven_obj(dude_obj, INVEN_TYPE_RIGHT_HAND);
end else if(attack_type == ATKMODE_SEC_BURST) then begin
weapon_used := obj_pid(critter_inven_obj(dude_obj, INVEN_TYPE_LEFT_HAND);
end
is that correct?
Last edited: