- Home /
Question by
Reedex · Jan 12, 2018 at 11:44 AM ·
accessing from any scriptchange variable
how to make attack for multiple weapons(with change,not at once)
you know,one weapon in hand,then go to inventory ,change weapon,and have different damage... my premise is:raycast on enemy,check if in range,deal damage based on current weapon. i just need to know how to change variables like this: script 1 (attack) if press A, attack. attack is = get damage number from the current script2 weapon, deal the damage.
Comment