Jump to content

Need Help With Scripting


Gnawty

Recommended Posts

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

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

well... i know how to change or check the owner of an item in the construktion set

i want to check or change it while the game is running

and i would also like to check the cell ingame

so i need all these things for scripts and not for the editor

 

anyway: thanks for the answer

Link to comment
Share on other sites

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

Archived

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

  • Recently Browsing   0 members

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