#521 closed enhancement (fixed)
Rally Points for Buildings
Reported by: | Evans | Owned by: | Evans |
---|---|---|---|
Priority: | Nice to Have | Milestone: | |
Component: | Core engine | Keywords: | |
Cc: | philip | Patch: |
Description
The ability to create Rally Points for buildings by right clicking on the ground after selecting a building. All newly created units from that building will walk towards the rally point soon after creation.
Attachments (3)
Change History (8)
by , 14 years ago
Attachment: | RallyPoints.diff added |
---|
by , 14 years ago
Attachment: | RallyPoint.js added |
---|
by , 14 years ago
Attachment: | RallyPoint.2.js added |
---|
binaries/data/mods/public/simulation/components/interfaces/RallyPoint.js
comment:1 by , 14 years ago
Cc: | added |
---|---|
Keywords: | review added |
Status: | new → assigned |
comment:2 by , 14 years ago
Thanks! This seems basically fine, though I ended up making a few minor modifications:
- Added right-click-on-selected-building command to unset the rally point.
- Changed where the GUI updates the rally point display, so that it updates when you destroy a selected building.
- Rearranged the rally point rendering code to make #524 easier.
- Fixed removal of old rally point entities so they vanish instantly (DestroyEntity has a delay).
- Prevented displaying rally points for enemy buildings.
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 by , 8 years ago
Keywords: | review removed |
---|
Note:
See TracTickets
for help on using tickets.
binaries/data/mods/public/simulation/components/RallyPoint.js