UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: buttkicker845 on August 17, 2017, 10:36:31 pm

Title: determine if node is inside of zone
Post by: buttkicker845 on August 17, 2017, 10:36:31 pm
Is there a way to determine if a pathnode is inside of a specific zone? i tried using isTouching but apparently pathnodes never return true on isTouching. Is there a way to get the different vertices of a info_goal so i can use those to manually determine if a pathonode is inside of the zone?
Title: Re: determine if node is inside of zone
Post by: HitmanVere on August 17, 2017, 10:45:47 pm
Spawn model in origin of pathnode and check if that is touching zone
Title: Re: determine if node is inside of zone
Post by: buttkicker845 on August 17, 2017, 11:04:28 pm
not a bad idea. I didn't even think about spawning another ent, i was trying do only do math.
Thanks  :)