Search this Thread |
![]() |
![]() |
CyrusBanefort |
Basically, that. My swordfighting mod shows the duel interaction even in the selected sim, as a self-interaction, and I don't want a self-interaction. Is there some form of getting rid of this problem, through using the test() method? |
|
|
![]() |
#2 |
Battery
|
Just add a additional check in the Test method to exclude the Actor so if Actor == Target return false |
|
|
![]() |
#3 |
PuddingFace
|
Will Actor.SimDescription.SimDescriptionID == Target.SimDescription.SimDescriptionID be faster? |
|
|
![]() |
#4 |
Consort
|
No. I strongly doubt it. The runtime will only check if those two Sim objects point to the same instance. |
|
|
|
|
![]() |