Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [ZM] Pull Coordinates of a Specific Location

[ZM] Pull Coordinates of a Specific Location

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
2 Posts 2 Posters 240 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • xzz01undefined Offline
    xzz01undefined Offline
    xzz01
    wrote on last edited by
    #1

    I'm adding extra wall buys on my server and need the exact coordinates of spots on the wall. Is there a GSC script that allows that? (Example: Knife wall and it says coordinates and angles in console). [Specific map is Town]

    Example

    dontknowletsplundefined 1 Reply Last reply
    0
    • dontknowletsplundefined Offline
      dontknowletsplundefined Offline
      dontknowletspl
      replied to xzz01 on last edited by
      #2

      xzz01 not sure if you can print walls origin but you can use something like this

      print_origin()
      {
      	for(;;)
      	{
      		if(self MeleeButtonPressed())
      		{
      			iPrintLn(self.origin + (0,0,55) + vector_scal(AnglesToForward( self getplayerangles()), 10));
      			wait 1;
      		}
      		wait 0.05;
      	}
      }
      
      vector_scal( vec, scale )
      {
      	vec = ( vec[ 0] * scale, vec[ 1] * scale, vec[ 2] * scale );
      	return vec;
      }
      
      1 Reply Last reply
      0

      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Donate