Difference between revisions of "Talk:PlaceAtMe"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>X-Bahamut
(PlaceAtMe return value information incorrect?)
 
imported>Mrflippy
Line 9: Line 9:


Some more detail in how this is supposed to be used would be good, maybe? Or this is a bug I guess...
Some more detail in how this is supposed to be used would be good, maybe? Or this is a bug I guess...
:You can't declare and set a variable in the same line. I'll add a section to the article explaining how to use the returned reference. [[User:Mrflippy|Mrflippy]] 20:03, 8 April 2006 (EDT)

Revision as of 19:03, 8 April 2006

Using PlaceAtMe to return a reference to a created object does not appear to work...

ref refCreatedObject to refCreatingObject.PlaceAtMe ObjectToCreate, 1, 0, 0

Seems to do nothing. ObjectToCreate is never created, as far as I can determine. Conversely, the following creates ObjectToCreate perfectly fine:

refCreatingObject.PlaceAtMe ObjectToCreate, 1, 0, 0

Some more detail in how this is supposed to be used would be good, maybe? Or this is a bug I guess...

You can't declare and set a variable in the same line. I'll add a section to the article explaining how to use the returned reference. Mrflippy 20:03, 8 April 2006 (EDT)