Difference between revisions of "Talk:PlaceAtMe"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Tegid
(Can PlaceAtMe generate more of the calling objects type?)
imported>Maian
m (attributing comment)
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...
--[[User:X-Bahamut|X-Bahamut]] 23:34, 8 April 2006 (EDT)


: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)
: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 06:00, 20 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...

--X-Bahamut 23:34, 8 April 2006 (EDT)

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)

--Tegid 22:41, 12 April 2006 (EDT) Does PlaceAtMe only succeed at creating a reference if it is called by a Persistent Object or an Actor? More importantly if I have a Foo object can I create another Foo object by calling?

set FooRef2 to FooRef1.PlaceAtMe Foo, 1, 0, 0