Gnawty Posted February 26, 2006 Share Posted February 26, 2006 Hi, i need some information about scripting i would like to know these things, please help me: 1. Is there any possibility of checking the owner of an item (like: if (ObjectOwner == Mr.X))2. Can i check whether an object is inside a specific cell 3. Is there any word for ANYOBJECT in tes-script (for example for collision with any object, for example for vehicles that stop when they crash into objects)4. how can i affect an object without knowing it's name (example: I use the sollutions of 1., 2. and 3.,then then i want the program to look for items ("ANYOBJECT") of the npc X (1.) in a specific cell (2.), and i also want it to put these items for example into a box/chest. Still without knowing the item's names) Thank you for your answers and ideas. Gnawty Link to comment Share on other sites More sharing options...
Povuholo Posted February 26, 2006 Share Posted February 26, 2006 With checking the ownership, do you mean you want a script to run a check or just want to know it/change it? If you just want to know it/change , click on the object, tick the box of extra data and select the npc's ID in the dropdown list. For checking in which cells an object is, press the right mouse button in the object window (not on the actual item in the render window) and select info. Then you see in which containers, and in which cells you can find that item. For the others you'll need scripting, ( or if the thing i meant isn't what you meant) and i'm not the guy who can help you with that. But i know there are some people here that can. Link to comment Share on other sites More sharing options...
Gnawty Posted February 26, 2006 Author Share Posted February 26, 2006 well... i know how to change or check the owner of an item in the construktion seti want to check or change it while the game is runningand i would also like to check the cell ingameso i need all these things for scripts and not for the editor anyway: thanks for the answer Link to comment Share on other sites More sharing options...
ThetaOrionis01 Posted February 26, 2006 Share Posted February 26, 2006 As far as I know you cannot check for ownership or change it via script. As for checking the presence of an item in a cell, you might be able to do that by placing an activator inside the cell, and checking whether the item is within a given distance. Link to comment Share on other sites More sharing options...
Gnawty Posted February 26, 2006 Author Share Posted February 26, 2006 the idea with the activator is good, but unforetunately it won't help, because i want to affect objects from other plugins and i don't want to check every other plugin in order to get the object's ids thanks for the answer Link to comment Share on other sites More sharing options...
Gnawty Posted February 26, 2006 Author Share Posted February 26, 2006 hm i think i should tell you what i want to reach with these scripts, it could help you helping me ^^ i want to create a new owner of arrilles tradehouse in seyda neen, and some quests and a story about it, but this is not the problem.as you know many modders place their work (swords, armoor etc.) into the tradehouse and i want the items not to get unavailable. so the script has to look for arrille's objects in the cell (the objects that should be sold by him) and make the new owner of the shop owner of the items so that the player can still admire the models oder items. Please help me....... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.