Hi all!
I have authored a mod that adds several types of new arrows and a bow to the game.
I would like to make it so that when the Bow from my mod is being used the range and speed of the projectile is increased, so in essence Ide like to assign 2 projectiles to an ammunition type and have the type of bow used decide which projectile is fired. In my headcanon that would need a script that checks the player inventory for a specific Bow and Arrow equip combination and assigns the correct projectile type on the fly. Or if its possible, have the script edit the projectile speed and range values directly.
So in steps:
a. Is player equipped with Bow X
b. Is player equipped with Ammo Y
if a+b = yes, then use projectile Z
or:
a. Is player equipped with Bow X
b. Is player equipped with Ammo Y
if a+b=yes then for Projectile Y;
Set range to X value
Set speed to X value
I know nothing about scriptwriting so I was hoping to draw on the experience of the community, Is the above feasable/possible?
Any input would be great.
Thankyou in advance!