Aller au contenu

Photo

Waypoint scripts?


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
TheUntoldLyric

TheUntoldLyric
  • Members
  • 2 messages
How do I use them?

I looked it up and found simple scripts to use, but not how to use them.
I found this script that I tried using by attaching it to the NPCs onheartbeat:

#include "ginc_wp"
void main()
{
    int iCurrentWP = GetCurrentWaypoint();
    FaceAndPause(iCurrentWP, 5.0f);
}

Doesn't seem to do anything, the NPC just moves from waypoint to waypoint without pausing.
So,  how do I currectly use waypoint scripts?

To avoid Double Posting,  edit:
Nevermind, found out.
I didn't know I had to name the scripts "wp_creaturetag"

Modifié par TheUntoldLyric, 23 novembre 2010 - 05:57 .