Aller au contenu

Photo

Encounters Walk To A Waypoint


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Souldry

Souldry
  • Members
  • 8 messages
Hey, I was wondering if someone could show me how to make encounters walk to a waypoint instead of just roaming about. I appreciate it.

#2
La Rose Noire

La Rose Noire
  • Members
  • 25 messages
In the NPC OnSpawn script, juste add something like

MoveToLocation(GetLocation(GetNearestObjectByTag("THIS_WAY")))

Modifié par La Rose Noire, 05 juillet 2011 - 11:08 .


#3
Xardex

Xardex
  • Members
  • 217 messages
*snip*
Wow I cant read, nevermind.

There should be plenty of information about waypoints, just search for it.

Modifié par Xardex, 05 juillet 2011 - 01:29 .


#4
Rowwena

Rowwena
  • Members
  • 33 messages
If you look at the script that is called up from the OnSpawn script - open the Onspawn Script (something like X2_def_spawn) it will show somewhere a command to execute NW_C2_DEFAULT9 or some variant of that. If you open that script it gives you a pretty good rundown on the various settings you can comment in or out for character behaviour, like setting day/night postings, and setting how social each character is. Just be Very Careful not to change these scripts unless you really know what you are doing or it will cause you many headaches. It is best to just copy the two scripts to something like wordpad so you can read and understand them. Once you are comfortable you can make some of your own script sets with your own variants of the names, and make it so you can load these on an individual basis. I have a set for standard guard actions, and one for tavern type actions.