Jump to content

Script Help


thesweeney

Recommended Posts

I'm working on a mod and it would be very helpful if someone could tell me how to move a creature to a NPC that I have casted a spell on.

aaatestzombie.moveto x

What do I put where the x is to get the zombie to move to the NPC? I have the rest of the script working so this is the only problem. Thanks in advance to anyone who can help me.

Link to comment
Share on other sites

The problem is the NPC could be anywhere in relation to the player, i would use aaatestzombie.moveto player 0, 100, 0

This will place the zombie directly in front of the player, you will need to play around with the coordinates to see wich suits you best.

Link to comment
Share on other sites

I've decided to change the spell to touch because that means the NPC will be in front of the player when the spell is cast so it should work with just aaatestzombie.moveto player 0, 100, 0
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...