Difference between revisions of "Talk:OnAdd"

Jump to navigation Jump to search
376 bytes added ,  16:08, 19 January 2009
Re: On the notes
imported>SnakeChomp
(Re: Haama)
imported>Cipscis
(Re: On the notes)
Line 5: Line 5:
:I am going to play around more when I am home to see if I can use a gamemode script with a timer to add an item shortly after the actor spawns using AddItem (which will trigger the OnAdd block). My previous experiments with this showed that a gamemode block on an item script calling additem on its container would freeze the game, but it may be because the item I was adding also called RemoveMe in its OnAdd block. I hope to find a workaround for this.
:I am going to play around more when I am home to see if I can use a gamemode script with a timer to add an item shortly after the actor spawns using AddItem (which will trigger the OnAdd block). My previous experiments with this showed that a gamemode block on an item script calling additem on its container would freeze the game, but it may be because the item I was adding also called RemoveMe in its OnAdd block. I hope to find a workaround for this.
:--[[User:SnakeChomp|SnakeChomp]] 21:06, 19 January 2009 (UTC)
:--[[User:SnakeChomp|SnakeChomp]] 21:06, 19 January 2009 (UTC)
::For the note that I added, about the Death Items, they were.  I tried it with and without the player killing them, and it seems to be true for regular Death Items and for those added via perks like Contract Killer.<br />It's not all bad, you can use it to tell when the item is first removed from its container.<br />-- [[User:Cipscis|Cipscis]] 21:08, 19 January 2009 (UTC)
Anonymous user

Navigation menu