Difference between revisions of "Talk:Unplayable Items"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Elder
imported>GuidoBot
(Reset)
Line 1: Line 1:
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=2>D</font>ragoon <font face="Oblivion,Daedric Runes" size=2>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 02:25, 20 September 2006 (EDT): [[User:Elder|Elder]], would you please explain your last two edits to this page? I'm not understanding why these changes are accurate.
I removed the following recommendation for placing a token more directly on the player:


:''Moveto player'' isn't required when the object is persistent, activate will always work, and when the object is not persistent ''moveto player'' will have the same chance of crashing Oblivion as ''activate player''
(1) set tokenRef to player.PlaceAtMe MyPlayerToken 1
(2) tokenRef.Activate player
... [commands done on successive frames] ...


:''Player.additem'' was obviously a typo because you can't activate objects in your inventory and additem doesn't even return a reference. The correct command is ''player.placeatme''
I can't remember if I actually got this to work - in theory it shouldn't. [[User:GuidoBot|GuidoBot]] 20:15, 18 October 2006 (EDT)
 
:The item is created at the player's feet and the ''activate'' command causes the player to pick it up. This way the item is added to the player without the "object added" message showing up.
 
 
:BTW: My POC's [[User:JOG#The_Generous Giant_of_Tamriel|The Generous Giant of Tamriel]] and [[User:JOG#Dagger_Mould|Dagger Mould]] were probably the first tokens ever, although I didn't call them so...
 
:[[User:JOG|JOG]] 10:23, 20 September 2006 (EDT)
 
::[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=2>D</font>ragoon <font face="Oblivion,Daedric Runes" size=2>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 14:17, 21 September 2006 (EDT): OK. I simply didn't have time to read through everything and someone changing what someone else wrote without explanation concerned me. I thought reverting and waiting for an answer was the safer route.
GuidoBot. Dont worry about the edits. It was me. I sent a PM. Sorry I'm so inept with the WIki but I was told it was hard to screw it up.

Revision as of 19:15, 18 October 2006

I removed the following recommendation for placing a token more directly on the player:

(1) set tokenRef to player.PlaceAtMe MyPlayerToken 1

(2) tokenRef.Activate player

... [commands done on successive frames] ...

I can't remember if I actually got this to work - in theory it shouldn't. GuidoBot 20:15, 18 October 2006 (EDT)