- Code: Select all
if EntityDistance(Entity1, Entity2) < 10 then
-- ....
end
if EntityDistance(Entity1, Entity2) < 10 then
-- ....
end
float3 subtractPositions (int entityID_1, int entityID_2)
This Function will provide the means to subtract one entity position from another entity. This can be used to work out directions or get the distance between 2 entities.
Users browsing this forum: No registered users and 8 guests