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.
Find bases
Re: Find bases
startPositions[] global array.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
camellia0x++
- Rookie

- Posts: 28
- Joined: 22 Jan 2012, 18:28
Re: Find bases
Is this undocumented?NoQ wrote:startPositions[] global array.
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
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.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: Find bases
Index of my API docs: https://warzone.atlassian.net/wiki/display/jsapi/API
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: Find bases
Oops. Some globals dropped out of the docs somehow. I've fixed it in master now.


