PheteyGee
2014-10-21 02:27:20
Hey Homies,
Looking for a bit of help regarding SPS.
I'm mucking around with a few different scripting ideas and I'm thinking about developing (it's been done before but I like to do things myself instead of copy to learn) an SPS Positioning Detection system. The way i'd like to do it is having numerous points for example:
At the location of a green tree
At the location of a red tree
At the location of a blue tree
At the location of a purple tree
Using SPS have coordinates for each of those locations. My thoughts are putting these points within a TBox to then allow SPS to check whether I am within the Tbox and the SPS location… so if I'm standing within the TBox created at the SPS Position of green tree, then when I call SPS.GetPlayerPos and i'm within that Tbox it verifies that I'm at the green tree and I can begin cooking rice…
I've come up against all sorts of problems and questions like… How do I get the SPS coordinates for the location of the green tree and how do I have them stored in a TBox? Do I use the SPS_Path_Generator Tool to make 2 points (xs, ys and xe, ye) and add them to Tbox = [xs, yx and xe, ye);?
Help please. Hope i've clarified well enough…
Looking for a bit of help regarding SPS.
I'm mucking around with a few different scripting ideas and I'm thinking about developing (it's been done before but I like to do things myself instead of copy to learn) an SPS Positioning Detection system. The way i'd like to do it is having numerous points for example:
At the location of a green tree
At the location of a red tree
At the location of a blue tree
At the location of a purple tree
Using SPS have coordinates for each of those locations. My thoughts are putting these points within a TBox to then allow SPS to check whether I am within the Tbox and the SPS location… so if I'm standing within the TBox created at the SPS Position of green tree, then when I call SPS.GetPlayerPos and i'm within that Tbox it verifies that I'm at the green tree and I can begin cooking rice…
I've come up against all sorts of problems and questions like… How do I get the SPS coordinates for the location of the green tree and how do I have them stored in a TBox? Do I use the SPS_Path_Generator Tool to make 2 points (xs, ys and xe, ye) and add them to Tbox = [xs, yx and xe, ye);?
Help please. Hope i've clarified well enough…