ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
TeamMissionTypes: Difference between revisions
Jump to navigation
Jump to search
Crimsonum moved page TeamMissionTypes to ScriptTypes/TeamMissionTypes: Moved under ScriptTypes due to close association |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{stub}} | |||
In {{td}} to {{ra}}, team missions are a set of instructions for the team to carry out, such as "attack this" or "move there". A team can have multiple missions, and they will proceed to execute them from first to last. | |||
In {{ts}} to {{yr}}, team missions have been moved to [[ScriptTypes/ScriptActions|scripts]]. | |||
== In Red Alert == | |||
{|class="wikitable" | |||
!Parameter | |||
!Type | |||
!Description | |||
|- | |||
|0 | |||
|TMISSION_NONE | |||
|Do nothing | |||
|- | |||
|1 | |||
|TMISSION_ATTACK | |||
|Attack specified [[quarry type]] | |||
|- | |||
|2 | |||
|TMISSION_ATT_WAYPT | |||
|Attack specified [[waypoint]] | |||
|- | |||
|3 | |||
|TMISSION_FORMATION | |||
|Change [[formation]] of team | |||
|- | |||
|4 | |||
|TMISSION_MOVE | |||
|Moves to the specified [[waypoint]] | |||
|- | |||
|5 | |||
|TMISSION_MOVECELL | |||
|Moves to the [[cell]] specified by the cell number | |||
|- | |||
|6 | |||
|TMISSION_GUARD | |||
|Orders the team to a [[guard]] mission | |||
|- | |||
|7 | |||
|TMISSION_LOOP | |||
|Loops back to the start of the team mission list | |||
|- | |||
|8 | |||
|TMISSION_ATTACKTARCOM | |||
|Attack [[TarCom]] | |||
|- | |||
|9 | |||
|TMISSION_UNLOAD | |||
|[For transports] unload passengers at current location | |||
|- | |||
|10 | |||
|TMISSION_DEPLOY | |||
|Deploy to a building (i.e. MCV to Construction Yard) | |||
|- | |||
|11 | |||
|TMISSION_HOUND_DOG | |||
|Follow nearest friendly unit | |||
|- | |||
|12 | |||
|TMISSION_DO | |||
|Perform a mission like [[guard]], [[sticky]], [[area guard]], etc. See [[DoTypes]] for a list of applicable missions.<br>Note that missions like guard are indefinite and the team will continue to perform it until its members are destroyed or recruited into another team. | |||
|- | |||
|13 | |||
|TMISSION_SET_GLOBAL | |||
|Set global variable | |||
|- | |||
|14 | |||
|TMISSION_INVULNERABLE | |||
|Grants invulnerability (Iron Curtain effect) to the team | |||
|- | |||
|15 | |||
|TMISSION_LOAD | |||
|If the team includes a transport, all other units are loaded onto the transport | |||
|- | |||
|16 | |||
|TMISSION_SPY | |||
|Infiltrate the building at the specified waypoint | |||
|- | |||
|17 | |||
|TMISSION_PATROL | |||
|Move while looking for enemies as well | |||
|} | |||
== See Also == | |||
* [[Mission Control]] |
Latest revision as of 11:42, 7 June 2023
This article or section is a stub. You can help ModEnc by expanding it.
In Tiberian Dawn to Red Alert, team missions are a set of instructions for the team to carry out, such as "attack this" or "move there". A team can have multiple missions, and they will proceed to execute them from first to last.
In Tiberian Sun to Yuri's Revenge, team missions have been moved to scripts.
In Red Alert
Parameter | Type | Description |
---|---|---|
0 | TMISSION_NONE | Do nothing |
1 | TMISSION_ATTACK | Attack specified quarry type |
2 | TMISSION_ATT_WAYPT | Attack specified waypoint |
3 | TMISSION_FORMATION | Change formation of team |
4 | TMISSION_MOVE | Moves to the specified waypoint |
5 | TMISSION_MOVECELL | Moves to the cell specified by the cell number |
6 | TMISSION_GUARD | Orders the team to a guard mission |
7 | TMISSION_LOOP | Loops back to the start of the team mission list |
8 | TMISSION_ATTACKTARCOM | Attack TarCom |
9 | TMISSION_UNLOAD | [For transports] unload passengers at current location |
10 | TMISSION_DEPLOY | Deploy to a building (i.e. MCV to Construction Yard) |
11 | TMISSION_HOUND_DOG | Follow nearest friendly unit |
12 | TMISSION_DO | Perform a mission like guard, sticky, area guard, etc. See DoTypes for a list of applicable missions. Note that missions like guard are indefinite and the team will continue to perform it until its members are destroyed or recruited into another team. |
13 | TMISSION_SET_GLOBAL | Set global variable |
14 | TMISSION_INVULNERABLE | Grants invulnerability (Iron Curtain effect) to the team |
15 | TMISSION_LOAD | If the team includes a transport, all other units are loaded onto the transport |
16 | TMISSION_SPY | Infiltrate the building at the specified waypoint |
17 | TMISSION_PATROL | Move while looking for enemies as well |