vidani Posted February 9, 2012 Share Posted February 9, 2012 Scriptname aaaMRbohItemScript Extends ObjectReference ObjectReference Property aaaMRbohChestREF AutoActor Property akReference Auto Event OnActivate(ObjectReference akActionRef) If akActionRef == Game.GetPlayer() Debug.MessageBox("Hello, World!") aaaMRbohChestREF.Activate(akReference) ElseIf akActionRef != Game.GetPlayer() Debug.MessageBox("Not The Player!") EndIfEndEvent I am trying to remotely activate a container, and I am not having any luck. Please, someone point me in the right direction!! Link to comment Share on other sites More sharing options...
TheChan Posted February 9, 2012 Share Posted February 9, 2012 It looks like it's being activated by whatever property is linked to akReference and not by the player. Link to comment Share on other sites More sharing options...
vidani Posted February 9, 2012 Author Share Posted February 9, 2012 It looks like it's being activated by whatever property is linked to akReference and not by the player. Any suggestions for a fix? Link to comment Share on other sites More sharing options...
TheChan Posted February 9, 2012 Share Posted February 9, 2012 (edited) Scriptname aaaMRbohItemScript Extends ObjectReference ObjectReference Property aaaMRbohChestREF Auto Actor Property akReference Auto Event OnActivate(ObjectReference akActionRef) If akActionRef == Game.GetPlayer() Debug.MessageBox("Hello, World!") aaaMRbohChestREF.Activate(Game.GetPlayer()) ElseIf akActionRef != Game.GetPlayer() Debug.MessageBox("Not The Player!") EndIf EndEvent Edited February 9, 2012 by TheChan Link to comment Share on other sites More sharing options...
TheChan Posted February 9, 2012 Share Posted February 9, 2012 Sorry my phone messed up the formatting. Link to comment Share on other sites More sharing options...
vidani Posted February 10, 2012 Author Share Posted February 10, 2012 The problem is activating the reference (container) itself, and what was posted here to try to help still did not work. Any other suggestions? Link to comment Share on other sites More sharing options...
Recommended Posts