Difference between revisions of "PlaceAtMe"
Jump to navigation
Jump to search
→Getting the Created Object's Reference: Extra notes
imported>Haama (→Warning: Repeated Use Causes Save-Game Bloat: Clarified) |
imported>Haama (→Getting the Created Object's Reference: Extra notes) |
||
Line 40: | Line 40: | ||
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 cause a CTD. | This reference is only reliable for objects that can't be picked up (when they're picked up the reference is destroyed). Accessing the reference of an inventory-item after someone picked it up can cause a CTD. | ||
Note that [[GetSelf]] won't return the correct reference when used on '''PlaceAtMe''' objects. | |||
==Usage in same frame as creation== | ==Usage in same frame as creation== |