Difference between revisions of "Talk:PlaceAtMe - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Programmeurenforce
(Returned value)
imported>Programmeurenforce
m
Line 3: Line 3:
For example in :
For example in :


'''ObjectReference Horker = Game.GetPlayer().PlaceAtMe(Game.GetForm(0x00023ab1))'''
ObjectReference Horker = Game.GetPlayer().PlaceAtMe(Game.GetForm(0x00023ab1))


Do you get it in "'''Horker'''" ? Can i use it for '''Actor based''' functions ?
Do you get it in "'''Horker'''" ? Can i use it for '''Actor based''' functions ?

Revision as of 03:54, 20 May 2012

Where do you get the last created ObjectReference returned value ?

For example in :

ObjectReference Horker = Game.GetPlayer().PlaceAtMe(Game.GetForm(0x00023ab1))

Do you get it in "Horker" ? Can i use it for Actor based functions ?

For example; if i want to delete the previously created ObjectReference, can i use the IsDead() function then the Delete() function or do i need to get the references from another event ?

(Sorry if my question is not apropriate here , or if it is not clear, feel free to delete it)


--Instead of changing the world, let's change ourselfs 04:39, 19 May 2012 (EDT)