TDL_Guvie Posted August 19, 2004 Share Posted August 19, 2004 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 More sharing options...
Serrieth Posted August 20, 2004 Share Posted August 20, 2004 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 isSet Done to 1*player->Removeitem, "Item ID" # ; the # = how many are being removedendif 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 More sharing options...
TDL_Guvie Posted August 20, 2004 Author Share Posted August 20, 2004 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 More sharing options...
dunmer_jediknight Posted August 20, 2004 Share Posted August 20, 2004 honestly you should look at the tutoral called morrowind scripting for dummies. It is even on this site I have the sixth edition ( accualy printed it out ... all 143 pages of it ) and all the questions you have asked are answered in that tutoral. Like I said I downloaded it and it has been extreamly helpful. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.