I was running through some of my old scripts and noticed that in one script that I use to trigger conversations from a trigger, I make the entering object have a conversation with "OBJECT_SELF". The triggers make the conversations start, so I was wondering if OBJECT_SELF refers to the trigger or the entering object when the script runs off of a trigger's on enter script.
OBJECT_SELF in scripts that run off of triggers. What does it refer to?
Débuté par
M. Rieder
, janv. 10 2012 02:13
#1
Posté 10 janvier 2012 - 02:13
#2
Posté 10 janvier 2012 - 02:22
OBJECT_SELF should be the trigger running the script. The entering object would retrievable by GetEnteringObject.
#3
Posté 10 janvier 2012 - 02:27
Yep. That makes sense and goes with my test results. It also explain a rare and very odd bug I was having. Thanks.





Retour en haut






