GetTag( waypoint ) works fine, but GetName( waypoint ) no workie. There is also no way that I can see to attach any data to a waypoint other than the tag. What are the chances someone from BW can make GetName work?
Why do I need this, you ask?
I have a set of waypoints that I want to attach some script behavior. They all have the same tag so that I can tell them apart from other waypoints, but now I can't tell them apart from each other. Yes I could tag them special_1, special_2, etc. but then I can't use the super-cool GetObjectsInArea function without manually looping and doing string comparisons.
GetName( waypoint ) returns empty string
Débuté par
FalloutBoy
, déc. 10 2009 06:19
#1
Posté 10 décembre 2009 - 06:19
#2
Posté 10 décembre 2009 - 05:39
use the orientation and z-height as ways to obtain parseable values?
i am using the orientation of WPs to determine spawn distance.
i am using the orientation of WPs to determine spawn distance.
#3
Posté 10 décembre 2009 - 05:52
Clever. I was sort of hoping to use the orientation and z-height for orientation and z-height. But I will consider it. I can't imagine adding a GetName function for waypoints would take more than 10 minutes of someone's time though.
#4
Posté 10 décembre 2009 - 05:57
You must not work for a corporation
#5
Posté 11 décembre 2009 - 01:48
10 minutes to implement, 10 weeks to test and verify.





Retour en haut






