Difference between revisions of "PlaceAtMe"

Jump to navigation Jump to search
No change in size ,  13:40, 22 May 2006
m
typos...
imported>JOG
(Warning from using the reference of inventory-items)
imported>JOG
m (typos...)
Line 15: Line 15:
This function can be used with leveled creature lists as well.   
This function can be used with leveled creature lists as well.   


It can't be used with leveled items, though. Leveled items are not supposed to be placed into the world ou can use them exclusively inside containers. Trying to create an item from a leveled list this way will just cause the yellow exclamation mark (Marker_Error.NIF) to appear.
It can't be used with leveled items, though. Leveled items are not supposed to be placed into the world - you can use them exclusively inside containers. Trying to create an item from a leveled list this way will just cause the yellow exclamation mark (Marker_Error.NIF) to appear.




Line 32: Line 32:
The refName variable will now have a reference to ObjectToBeCreated.
The refName variable will now have a reference to ObjectToBeCreated.


This reference is only reliable for objects that can't be picked up. Accessing the reference of an inventory-item after someone picked it up, can crash the game.
This reference is only reliable for objects that can't be picked up. Accessing the reference of an inventory-item after someone picked it up, can cause a CTD.


==Console Use==
==Console Use==
Anonymous user

Navigation menu