This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Talk:OnEquip"

Jump to navigation Jump to search
1,155 bytes added ,  06:11, 18 May 2010
no edit summary
imported>Haama
(Space is probably the best answer)
imported>Skevitj
 
(5 intermediate revisions by 3 users not shown)
Line 18: Line 18:
  player.EquipItem GenericItem
  player.EquipItem GenericItem
  message "Hello"
  message "Hello"
will take 2-3 seconds to display "Hello" because the blank message is displayed first. Still, it's the best solution and is used in the Message Remover Pack.--[[User:Haama|Haama]] 21:57, 14 January 2008 (EST)
::::will take 2-3 seconds to display "Hello" because the blank message is displayed first. Still, it's the best solution and is used in the Message Remover Pack.
::::If the circumstances that prevent other messages from being displayed can be narrowed down, it would be a good thing. Completely deleting the string won't have the delay and would be better.--[[User:Haama|Haama]] 21:57, 14 January 2008 (EST)
 
''(Responding to above)''  I will continue to test this.  My two separate tests were two separate savegames, and I don't know what the difference was.  I think we'll find that the instructions to display a message when an item is "equipped" are hardcoded into the game, and the only control scripters have over it is changing the message displayed.  In other words, probably hiding it with a space character is the best we can ever hope for.  The first test I ran, when messages were still displayed, might not have registered the changed message because that character did not possess the item with the OnEquip script.  Maybe if I had had him pick it up, messages would have been hidden for him as well.  I don't know if something like that would affect it or not.  Logic says no, the plugin was still loaded for both saves, but coding and programming have been known to have a few quirks.<br />
--[[User:RedFault|RedFault]] 09:49, 15 January 2008 (EST)
Anonymous user

Navigation menu