Jump to content

Position...


TDL_Guvie

Recommended Posts

How exactly does the player/npc->PositionCell, x, y, z, zrot, thing work? How would I make a person warp somewhere else after picking up a book. Or ther various objects. More importantly, are the co-ordinates at the bottom of the TES CS the co-ordinates i'm supposed to use?

 

 

-TDL Guvie

Link to comment
Share on other sites

Most of that is dealing with scripting and such and such, use this scrip and fill in the rest to make it work.

 

Begin "Script Name"

 

Short Done*

 

if ( Done == 1)*

return*

endif*

 

if ( OnPCEquip == 1)

Player->Position ; or what ever that function is

Set Done to 1*

player->Removeitem, "Item ID" # ; the # = how many are being removed

endif

 

 

End

 

NOTE: Add this script to the object that you want the player to pick up and make him or her warp. Also Done is optional, Done only allows this to happen Once, so if you want it to happen over and over, you must have the Player->Remove item and remove the Done procedures, Just remove the lines with the * next to it, if you want to script to make the player warp everytime he or she picks up or equips that item.

 

This is a very simple script, if it does not work please let me know :)

Link to comment
Share on other sites

Look man i'm not liiking for a tutorial, I just want to know how to set the Coordinates that the player will go to once they pick up the item. Thats all. Once I figure out where to locate the coordinates. wich i'm assuming are the ones at the bottom of the TES CS, I want to know how I should write them within the function.

 

Ex: player->PositionCell, 6789, 989, 88, 989, "Hla Oad"

 

-TDL Guvie

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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