Making dragons cast spells if you get within a certain dista

Post » Mon Jun 18, 2012 8:50 am

I am currently struggling to learn the scripting language in this game, as it's changed from the one in Oblivion and it's a bit hard to understand.

So, basically I want a script applied to dragons so that they will cast an area-effect firespell if the player gets within a certain range (e.g. between 6000 and 3000 units). Can anybody suggest how to do this?

For example, the pseudocode i have in mind is:-


script dragonareaspell

if playerdistance > 3000
if playerdistance < 6000
then shout.flames at player
User avatar
He got the
 
Posts: 3399
Joined: Sat Nov 17, 2007 12:19 pm

Post » Mon Jun 18, 2012 6:56 am

BUMP
User avatar
Elizabeth Falvey
 
Posts: 3347
Joined: Fri Oct 26, 2007 1:37 am


Return to V - Skyrim