Jump to content

Welcome to Omni-bot Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

Question about dg command

- - - - -

  • Please log in to reply
7 replies to this topic

#1
Mateos

Mateos

    Senior Member

  • Members
  • 1,082 posts
  • LocationFrance

Good afternoon,

 

/bot dg "FLAG.*" is supposed to list FLAG goals information in the console right? Nothing is printed ^^'

 

Edit: Is Util.ExludeClass supposed to work on ROUTE goals?


Edited by Mateos, 04 February 2017 - 05:10 PM.

mateos1.png


#2
Native12

Native12

    Senior Member

  • Members
  • 184 posts

And without "" doesn't work too?



#3
Mateos

Mateos

    Senior Member

  • Members
  • 1,082 posts
  • LocationFrance

Originally I tried with simply flag.*, then used upper-case, then between quotes (even though since there's no space it isn't required), but still no output


mateos1.png


#4
palota

palota

    Senior Member

  • Administrators
  • 523 posts

dg command is used for vehicles. It prints position and facing vector. It has 2 parameters, is case-sensitive and does not support regular expressions.

Example: /bot dg MOVER_tank true

show_goals command prints availability, role, serial number and priorities. It is not case-sensitive and supports regular expressions.

Example: /bot show_goals flag.*


  • Mateos likes this

#5
Mateos

Mateos

    Senior Member

  • Members
  • 1,082 posts
  • LocationFrance

Oh OK, the help was only saying "Display goal", not that it was restricted, and I thought it was just taking one argument... ^^'

 

I wanted to get some information on a particular goals, like their location; that's why I tried this one.

 

Thank you :)


mateos1.png


#6
palota

palota

    Senior Member

  • Administrators
  • 523 posts

Util.ExludeClass does not work on ROUTE goals.



#7
Mateos

Mateos

    Senior Member

  • Members
  • 1,082 posts
  • LocationFrance

Any reason as to why? Else I can just give engis a role with related nodes disabled as a workaround


mateos1.png


#8
palota

palota

    Senior Member

  • Administrators
  • 523 posts

Which map is it ? Which goals require special routes for engineer ?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users