Quote:
Originally Posted by Deas_Voice
yes, i know about the bow, but i need shootnuke, shootfireball, ect too.
i don't see how setting this.x/y to player's x/y is going to change the shootarrow, but i'll try that tomorrow anyway.
|
Well back in the day, bows like the super bow(which fire 4 arrows of all types in a row) would change the position of the weapon NPC in relation to the player, to change the placement of the arrow. So doing something like:
PHP Code:
if (weaponfired) {
shootarrow playerdir;
y = playery + 1;
shootnuke playerdir;
y = playery - 1;
shootfireball playerdir;
}
Would make the arrow shoot normally, with a fireball above it and a nuke below it.
However, I'm not even sure that will work anymore as I'm pretty sure Stefan make this.x/y not accessible via script in WNPCs since a lot of old weapon scripts used those without intending to alter the position of the weapon's x/y.