Difference between revisions of "Talk:PlaceAtMe"
Jump to navigation
Jump to search
imported>Mrflippy |
imported>Tegid (Can PlaceAtMe generate more of the calling objects type?) |
||
Line 11: | Line 11: | ||
: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) | ||
--[[User:Tegid|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 |
Revision as of 21:41, 12 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)
--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