Lately I'm trying to introduce in our server a talent to shoot multiple arrows at the same target. For the attack/damage mechanics I have no problem, but for the visual projectiles I don't see the light
I'm using
SpawnItemProjectile(oPC, OBJECT_INVALID, lPC, lTarget, BASE_ITEM_LONGBOW, PROJECTILE_PATH_TYPE_DEFAULT, OVERRIDE_ATTACK_RESULT_HIT_SUCCESSFUL, DAMAGE_TYPE_ELECTRICAL); DelayCommand(0.2, SpawnItemProjectile(oPC, OBJECT_INVALID, lPC, lTarget, BASE_ITEM_LONGBOW, PROJECTILE_PATH_TYPE_DEFAULT, OVERRIDE_ATTACK_RESULT_HIT_SUCCESSFUL, DAMAGE_TYPE_ELECTRICAL)); DelayCommand(0.4, SpawnItemProjectile (oPC, OBJECT_INVALID, lPC, lTarget, BASE_ITEM_LONGBOW, PROJECTILE_PATH_TYPE_DEFAULT, OVERRIDE_ATTACK_RESULT_HIT_SUCCESSFUL, DAMAGE_TYPE_ELECTRICAL));
been oPC the character, lPC its location an lTarget the location of the target creature, but it does not spawn the projectiles. I have also tried assigning it as an action to the PC, but it does not help, no projectile is shown.
Someone has tried something similar or has an idea of what can be wrong? Thank you in advance,
MachinSin





Retour en haut






