Difference between revisions of "Activate"

Jump to navigation Jump to search
206 bytes added ,  22:14, 15 August 2007
→‎Buggy Bug Bug of a Weird, Weird Bug: Only case of Inventory function
imported>DragoonWraith
(inventory function)
imported>Haama
(→‎Buggy Bug Bug of a Weird, Weird Bug: Only case of Inventory function)
Line 58: Line 58:
#You can't directly use an ''ActivatorID'' of an NPC. Instead, you have to set a temporary reference variable to the desired ''ActivatorID'', and use the variable in the ''ActivatorID'''s place. This is useful when using the ''RunOnActivateBlock'' flag. (I'm not sure what will happen for default activation. --[[User:Haama|Haama]] 18:42, 13 July 2007 (EDT))
#You can't directly use an ''ActivatorID'' of an NPC. Instead, you have to set a temporary reference variable to the desired ''ActivatorID'', and use the variable in the ''ActivatorID'''s place. This is useful when using the ''RunOnActivateBlock'' flag. (I'm not sure what will happen for default activation. --[[User:Haama|Haama]] 18:42, 13 July 2007 (EDT))
#If you open a container with '''''SomeContainer.Activate player''''', and the container doesn't have a script attached to it, then the player will be unable to directly open that container ever again. (I assume this is extended to all types of activation, but I haven't checked. --[[User:Haama|Haama]] 18:42, 13 July 2007 (EDT))
#If you open a container with '''''SomeContainer.Activate player''''', and the container doesn't have a script attached to it, then the player will be unable to directly open that container ever again. (I assume this is extended to all types of activation, but I haven't checked. --[[User:Haama|Haama]] 18:42, 13 July 2007 (EDT))
#[[:Category:Troubleshooting#Activate_Self|Activate Self]]
#You can use 'Activate player, 1', while an item is in an inventory, to have it run it's own [[onActivate]] block. However, you have to place the onActivate block on the top of the script. See [[:Category:Troubleshooting#Activate_Self|Activate Self]] for more info.
#[[:Category:Troubleshooting#Activating_a_Container_.28including_NPC.29|Activating a Container (including NPCs)]]
#[[:Category:Troubleshooting#Activating_a_Container_.28including_NPC.29|Activating a Container (including NPCs)]]


==Nesting==
==Nesting==
Anonymous user

Navigation menu