Need help with Script please!

Post » Sun Nov 25, 2012 10:46 am

I'm complete noob to scripting,
and am in need of a script that I can attach to a Trigger or to spawn script which is attached to a lever..

Spawn script
ObjectReference Property Marker01 AutoActorBase Property Actor01 AutoEvent OnActivate(ObjectReference akActionRef)Marker01.PlaceAtMe(Actor01)endEvent

What I need it to do?
After bandit, wolf, etc is spawned from above script,, " run / walk to xmarker or xmarkerheading.".Thats it.

From what I cannot find I was leaning towards http://www.creationk...PathToReference] PathToReference[/url]

And I don't know which way would be best. Do I put it on a trigger so when the npc is spawned it is in the trigger therefore setting off -Event OnTriggerEnter-
or to attach it to the above script so that
npc spawns and immediatley runs to spot?

Either way I need help with this please.. :ahhh:
User avatar
Kate Schofield
 
Posts: 3556
Joined: Mon Sep 18, 2006 11:58 am

Return to V - Skyrim