Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap (found) and (building) variables in 7A ulocate documentation #128

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/syntax/FUNCTIONS_V7A.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ Locate a specific type of position/building anywhere on the map. Requires a boun
|Function call                                                                                |Generated instruction                                                  |
|-------------|---------------------|
|`found = ulocate(ore, oreType, outx?, outy?)`|`ulocate ore core true oreType outx outy found __tmp0`|
|`building = ulocate(building, group, enemy, outx?, outy?, found?)`|`ulocate building group enemy @copper outx outy found building`|
|`building = ulocate(spawn, outx?, outy?, found?)`|`ulocate spawn core true @copper outx outy found building`|
|`building = ulocate(damaged, outx?, outy?, found?)`|`ulocate damaged core true @copper outx outy found building`|
|`found = ulocate(building, group, enemy, outx?, outy?, building?)`|`ulocate building group enemy @copper outx outy found building`|
|`found = ulocate(spawn, outx?, outy?, building?)`|`ulocate spawn core true @copper outx outy found building`|
|`found = ulocate(damaged, outx?, outy?, building?)`|`ulocate damaged core true @copper outx outy found building`|
# World processor

These instructions are only available to the World Processor,
Expand Down
Loading