Jump to content

Possible?


shadowfaux3002

Recommended Posts

I think I can clarify a bit, I'll try at least, My english is not good

 

-Objects can have unique characteristics or share some characteristics with others objects, But have an unique ID each.

 

-Instances of object are all the occurrences of the object in the game, they are objects too and all instances of an object shares the same ID of the object father, yet they can have different characteristics, like contempts in a container, for example.

 

-Reference to an instance of object - are just pointer to a specific instance, not being an 'object' itself.

 

 

In scripting if you someway alter some characteristic of an objectID you will be changing all the instances of this object in game. so, to alter the characteristics of one determined instance you need to address to its referenceID (you need to give this 'referenceID' to the instance editing it in the render window)

 

some functions treat the object ID as an instance (in fact they generate an instance of the object in some cases. Ex. xyz.additem objectID 1 ... the engine will generate an instance of 'objectID' and give it to xyz, a container or actor).

 

some other functions need an specific referenceID, instead of the objectID. Ex. xyz.disable . here xyz can't be an objectID, as it would disable all instances of the object in game. So xyz, here, is the referenceID you gave to the 'instance of the object' in the "render window".

 

In your specific case you just need copy an existent object generating a new formID, after you place an instance of this object at the cell you choose, in the 'render window'. Now you goes to the "Cell windows" and edit this instance. for containers the list of contempt will be there, just drag and drop the things you want in the container to this list. you can so alter the quantity and such. Don't place that things into the object you created in the "Objects window", unless you want all instances of it having then.

 

Finally, if you would need to put/draw something in this container, via script, as so no others possibles instances of it would be modified, you would need to create the already mentioned referenceID to it.

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...