Phobos
Phobos copied to clipboard
Script action for repairing destroyed bridges
- Picks a Bridge Repair Hut from the map that is linked with a bridge with destroyed sections and is reachable by engineers and then send the Taskforce against it.
- The Taskforce must have any engineer and (Bridge Repair Huts in the map) or the script will end.
- Puts non-engineers into Area Guard mode when they arrive near the Bridge Repair Hut location.
- Only are evaluated Bridge Repair Huts that can be reached by the Engineers.
In aimd.ini: [SOMESCRIPTTYPE] ; ScriptType x=10105,n ; integer, mode for selecting Bridge Repair Huts
- The possible argument values are: 0 -> Pick the closest 1 -> Pick the Farthest -1 -> Pick Random
Nightly build for this pull request:
- compiled-dll-efdbef4a549eb978fe4cb3c9ec01ba8b12843b31.zip This comment is automatic and is meant to allow guests to get latest nightly builds without registering. It is updated on every successful build.
Internal rewrite of the feature.
Thanks to Starkku I don't need to do a pathfinding routine, simplifying the code doing the same.
Nightly build for this pull request:
- compiled-dll-0e2e90237b7f4d14442393f356480362a3ae6b75.zip These artifacts will expire in 90 days and will not be available for download after that time.
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.