So I'm trying to make a script that will essentially allow me to edit the distance a player (or actor) need to get within for an aggressor (a deathclaw in this case) before the deathclaw will engage the actor/player...
Basically, I have a camp setup for a mod I'm working on. I want the deathclaws and fire geckos to be close to the borders of the camp (much closer than the geck would allow) but WITHOUT attacking the guards, but still attacking the player if he gets too close. (Basically to give the player the illusion that the camp is basically screwed, without the monsters actually "screwing" it) hehe.
So here's what I've got so far:
;This script is used to tell an npc that if the player gets within a certain range to attack
scn VaultXAggroRange
begin GameMode
Actor.GetDistance.Player
if Player > x ;distance from actor with script (this is what I need help with)
StartCombat Player
endif
END
=======
x = distance from actor to player
Aside from making my day, helping me finish this script would solve a bottleneck that has been holding this mod back for days. =)
I will also give credit for the help, both in the actual script and in the game.
Thanks a lot,
Devlin aka Soaren