I am making a war game. i need a script that makes it so when i press the space bar:
if i have weapon #1 equiped, it shoots a pistol shot and does 5 damage to ememies.
if i have weapon #2 equiped, it shoots a machine gun shot and does 4 damage to ememies.
if i have weapon #3 equiped, it shoots duel sub machine gun shots and does 6 damage to ememies.
if i have weapon #4 equiped, it shoots a rifle shot and does 15 damage to ememies.
if i have weapon #5 equiped, it shoots a sniper rifle shot and does 100 damage to ememies.
if i have weapon #6 equiped, it shoots a rocket launcher shot and does 250 damage to all ememies that the explosion touches
if i have weapon #7 equiped, it shoots a laser beam shot and does 50 damage to ememies.
if i have weapon #8 equiped, it slashes the enemy with a light saber and does 100 damage to enemies.
but i need to be able to turn this script off and on with a call script.
and an event is an enemy if their first command in the event is a comment that says "is enemy"
and i need to be able to set the options in the script to choose the delay time for each weapon
Thanks in Advance!
if i have weapon #1 equiped, it shoots a pistol shot and does 5 damage to ememies.
if i have weapon #2 equiped, it shoots a machine gun shot and does 4 damage to ememies.
if i have weapon #3 equiped, it shoots duel sub machine gun shots and does 6 damage to ememies.
if i have weapon #4 equiped, it shoots a rifle shot and does 15 damage to ememies.
if i have weapon #5 equiped, it shoots a sniper rifle shot and does 100 damage to ememies.
if i have weapon #6 equiped, it shoots a rocket launcher shot and does 250 damage to all ememies that the explosion touches
if i have weapon #7 equiped, it shoots a laser beam shot and does 50 damage to ememies.
if i have weapon #8 equiped, it slashes the enemy with a light saber and does 100 damage to enemies.
but i need to be able to turn this script off and on with a call script.
and an event is an enemy if their first command in the event is a comment that says "is enemy"
and i need to be able to set the options in the script to choose the delay time for each weapon
Thanks in Advance!