gulogulo Posted May 30, 2012 Share Posted May 30, 2012 How to discover if an actor has been activated by the player. I mean conversation, pickpocketing, looting of a corpse. By actors I mean NPCs and creatures as well. Thanks in advance Link to comment Share on other sites More sharing options...
gasti89 Posted May 30, 2012 Share Posted May 30, 2012 If you want something to happen whenever the player activates a NPC, you must use the OnActivate event http://www.creationkit.com/OnActivate_-_ObjectReference If you want to know if the player as already activated the NPC one time, i can't find a condition for that :| Link to comment Share on other sites More sharing options...
gulogulo Posted May 30, 2012 Author Share Posted May 30, 2012 Thanks, but problem is I would like to use this event in quest script. Question is can I do that somehow or is it that it must be in the script applied to a specffic actor? In other words how to do it technically so it triggers when any actor is being activated or at least any unique actor because in fact only those actors interest me (I want the Player to learn the scent of any unique actor). The problem whether the Player has already activated the actor is a simple one (well perhaps not as simple but it can be conquered). You must create a list of actors in quest script to write every actor activated by the player and simply check the list during every onactivate event. Link to comment Share on other sites More sharing options...
gasti89 Posted May 30, 2012 Share Posted May 30, 2012 Uhm...i'm really not sure about this, but let me guess. You may create an alias using "matching reference", and condition it with "IsUniqueActor", or any condition you want that will cover the field you need. Then you may tag "closest" and "in loaded area". So the story mananger should fill the alias with the nearest object that matches conditions. Then you would apply the script on the alias. Link to comment Share on other sites More sharing options...
gulogulo Posted May 30, 2012 Author Share Posted May 30, 2012 Alright, bou please explain to me if I follow your advice the alisa will be upadated every frame. I mean Im moving, other actors are moving. How can I be sure that the script is applied to an actor that is the closest to the player supposing I tagged the alias as closest and in loaded area? Link to comment Share on other sites More sharing options...
gulogulo Posted May 30, 2012 Author Share Posted May 30, 2012 Nevermind I did it my way:) Link to comment Share on other sites More sharing options...
gasti89 Posted May 30, 2012 Share Posted May 30, 2012 Awww sorry i missed the thread. Glad to know you found the way! Link to comment Share on other sites More sharing options...
Recommended Posts