Page 1 of 1

Find bases

Posted: 06 Apr 2012, 03:40
by camellia0x++
Do we have a function for bots to find a player's starting position?

Some way to enumerate players are list properties about them would be nice.

Re: Find bases

Posted: 06 Apr 2012, 06:20
by NoQ
startPositions[] global array.

Re: Find bases

Posted: 06 Apr 2012, 20:37
by camellia0x++
NoQ wrote:startPositions[] global array.
Is this undocumented?

I do ctrl +f and I don't find it here: http://buildbot.wz2100.net/files/javasc ... cript.html

Is there another resource I should use?

I consider myself good with scripting, but it's rather difficult when I can't find documentation...

Re: Find bases

Posted: 06 Apr 2012, 20:54
by NoQ
I'm surprised it's undocumented, and i have no idea where i learned it from. Probably just took semperfi-js's code and watched ... Anyway, you should be using the amazing unofficial documentation by aubergine.

Re: Find bases

Posted: 08 Apr 2012, 06:57
by aubergine

Re: Find bases

Posted: 09 Apr 2012, 12:05
by Per
Oops. Some globals dropped out of the docs somehow. I've fixed it in master now.