Jump to content

Having some issues figuring some scripting out (Magic)


Bobbysepp

Recommended Posts

I am making a magic overhaul based on invested magic, and I'm trying to make different wards, but I'm having issues figuring some of the scripting elements out.

 

1) Is it possible to poll for the location of an arrow/magic projectile, and then modify the projectile's motion? (ex. If an arrow gets within a certain range of the caster, throw the arrow down) All my current ideas revolve around finding the formID of a projectile in flight (Which I'm currently stuck on) and making it poll to my script if my script is active.... But is there a better way to go about this?

 

2) Is it possible to make spell tomes readable? I know modifying the spell tome removal script doesn't work, is there something I'm missing?

 

3) How would you setup a script for a continuous spell (Like flames) that would apply the script while the spell is still active? (I'm prolly just thinking about things wrong)

Link to comment
Share on other sites

2) One easy solution is just make it a normal book and have it teach the spell via script. It sounds like you might be messing with modifying vanilla scripts? That's a bad idea generally, just FYI

 

The others I don't have an answer for at the moment. If you give your specific intent (3) may be easier to answer though :D For (1) I'd check how torch arrow and special effect arrows get their event stuff for hitting the target. It may or may not be perfect, but I'd imagine it could at least be made to work. Also the perk for blocking that keeps arrows from doing damage may be a good starting point to finding for a hook to an event that could give the effect of arrows flinging away.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...