dim3 Forum

Full Version: Joe Foe sniper walking?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
If your Joe's play the attack animation, then that's better than mine; mine just play the idle animation and stare blankly; they'll turn to track the player, but they won't attack under ANY circumstance (even being shot does not jolt them from their stupor). And get this, this is the UNMODIFIED script; all I changed was the projectile....
I didn't. know a projectile could render an enemy useless...
I'm going to add a new weapon to my Joe foesSmile
Maybe some one can show me a joe foe script with a weapon added, sorry i cant add the weapon.
Just change the weapon that is already present.
Code:
[...]
    obj.weapon.add('Joe Fire Ball');
[...]
    obj.weapon.fire('Joe Fire Ball',0);
[...]

btw: Changing the projectile/weapon can't do anything to the bot unless
1) The projectile/weapon has an error, then the weapon won't fire
2) You mess up in the change
3) The weapon/projectile doesn't work
Sorry, how do you give joe foe stalk a weapon?
Put
Code:
obj.weapon.add('<weaponName>');
in the construct function.
Just replace <weaponName> with the name of your weapon.
Thanks, any chance someone can tell me what to add to get the walk till <NumberHere> and then fire? i don't know how to add a watch, is there a way to add watch that gets him in range and a watch that tells it to stop and fire?
Pages: 1 2
Reference URL's