Attach Target Area Spell to Arrow

Post » Mon Apr 13, 2015 6:25 am

I'm trying to attach what is essentially a blink spell to an arrow, so that firing the arrow transports you to the location at which the arrow lands. Unfortunately, however I go about the issue, it doesn't seem to work. For example, I tried applying a perk which uses the Apply Combat Hit Spell effect, however the blink spell uses target location for delivery, whereas the perk effect requires contact delivery, and changing the delivery type of the blink spell doesn't work.

Does anyone know how I might go about attaching this particular spell to an arrow so that it sends you to where the arrow lands?

User avatar
bimsy
 
Posts: 3541
Joined: Wed Oct 11, 2006 3:04 pm

Post » Mon Apr 13, 2015 1:32 pm

The way I did something similar recently was to use a combination of Scripted Activators and explosions. You can attached an explosion to the Arrow's projectile, and use the Explosion to place an Activator-- that activator then moves the player to itself.

1) Make a new Arrow Type

2) Make a new Projectile Type

3) Make a new Explosion Type

4) Make a new Activator

5) Set your Activator to be the 'Placed Object' on the Explosion

6) Set the Projectile to use your new Explosion

7) Set the Arrow to use your new Projectile

On the Activator, add a script... Something like:

Actor Property PlayerRef Auto Event OnInit()   PlayerRef.MoveTo(Self)   Self.Disable()   Self.Delete()EndEvent

Once you have that working, you can modify the Script on the Activator to be a little more fanciful.

User avatar
dav
 
Posts: 3338
Joined: Mon Jul 30, 2007 3:46 pm

Post » Mon Apr 13, 2015 2:13 pm

Forgive me if this is simple, but I tried all that and my arrows just fly through everything and don't seem to collide, which means I can't tell if it's working.

Worth noting for the arrow and projectile, I used Iron Arrows as a base, and created the explosion and marker from scratch. Is there something I'm missing?

User avatar
Dean
 
Posts: 3438
Joined: Fri Jul 27, 2007 4:58 pm

Post » Mon Apr 13, 2015 1:30 am

Hmm, weird...

Could you maybe post Screen Shots of your Arrow, Projectile and Explosion? Maybe there's something in there that's not working. What did you use for your marker? Assuming you just copied the base Arrow and Projectile, I can't see why they wouldn't be working... :(

Edit: What happens if you fire them at a person? I'm just thinking, when I made a teleport, I added it as a Spell rather than an Arrow... Maybe with Arrows it does not trigger an explosion unless it hits an Actor, whereas Spells produce an explosion when they hit anything...

User avatar
kevin ball
 
Posts: 3399
Joined: Fri Jun 08, 2007 10:02 pm

Post » Mon Apr 13, 2015 1:57 pm

Sure, imgur com/a/bGN5o (sorry about the lack of an actual link, apparently I'm not legitimate enough to post them :confused: )

User avatar
Jah Allen
 
Posts: 3444
Joined: Wed Jan 24, 2007 2:09 am


Return to V - Skyrim