Difference between revisions of "Talk:PlaceAtMe"

Jump to navigation Jump to search
423 bytes added ,  21:07, 16 January 2008
Placeatme in scripts
imported>Guidobot
m
imported>Mr. V
(Placeatme in scripts)
Line 100: Line 100:


So this is still a little confusing. Is this saying PlaceAtMe items never get removed from a save game ever? This would probably mean that the regular spawn operations did something different to PlaceAtMe (which I doubt) or otherwise the game wouldn't ever delete anything. DeleteFullActorCopy neither deletes the reference or the created base object? (I dont think so.) What about PlaceAtMe statics vs. item/creatures, etc? (I think it more likely that statics never get deleted, e.g. most doors, containers, etc. in the game are never marked as persistant but they always are.) Also, this whole confusion over references vs. the objects themselves: a reference (variable) is just an pointer. It doesn't know whether the object associated with it exists or not. Hence trying to use it on an object that is lost or currently not loaded will either do nothing or cause a CTD. Additionally, SetDestroyed has nothing to do with object persistance. [[User:Guidobot|Guidobot]] 13:58, 12 April 2007 (EDT)
So this is still a little confusing. Is this saying PlaceAtMe items never get removed from a save game ever? This would probably mean that the regular spawn operations did something different to PlaceAtMe (which I doubt) or otherwise the game wouldn't ever delete anything. DeleteFullActorCopy neither deletes the reference or the created base object? (I dont think so.) What about PlaceAtMe statics vs. item/creatures, etc? (I think it more likely that statics never get deleted, e.g. most doors, containers, etc. in the game are never marked as persistant but they always are.) Also, this whole confusion over references vs. the objects themselves: a reference (variable) is just an pointer. It doesn't know whether the object associated with it exists or not. Hence trying to use it on an object that is lost or currently not loaded will either do nothing or cause a CTD. Additionally, SetDestroyed has nothing to do with object persistance. [[User:Guidobot|Guidobot]] 13:58, 12 April 2007 (EDT)
== Placeatme in scripts ==
I am currently working on a script for a sword that turns someone into a cheese wheel. This is my Script.
Begin ScriptEffectStart
    PlaceAtMe CheeseWheel 1 0 0
    Disable
End
Unfortunately, when the cheese appears and the target disappears, the cheese has collision lock on and is sometimes stuck beneath the ground.  Could someone tell me whats wrong?(This is my first official script)
Anonymous user

Navigation menu