Difference between revisions of "Talk:Unplayable Items"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
(Explanation what the code actually does.)
imported>JOG
(And an addition :))
Line 5: Line 5:
:''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''  
:''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''  


: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.


: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:JOG|JOG]] 10:23, 20 September 2006 (EDT)

Revision as of 09:40, 20 September 2006

Dragoon Wraith TALK 02:25, 20 September 2006 (EDT): Elder, would you please explain your last two edits to this page? I'm not understanding why these changes are accurate.

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
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
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 The Generous Giant of Tamriel and Dagger Mould were probably the first tokens ever, although I didn't call them so...
JOG 10:23, 20 September 2006 (EDT)