Make an expression2 like this:
Wire You:entity and Him:entity to 2 target finders.Code:@name @inputs You:entity Him:entity @outputs VectorDistance:vector @persist X Y Z X = abs(Him:pos():x() - You:pos():x()) Y = abs(Him:pos():y() - You:pos():y()) Z = abs(Him:pos():z() - You:pos():z()) VectorDistance = vec(X,Y,Z)


LinkBack URL
About LinkBacks





Reply With Quote






Bookmarks