Difference between revisions of "GetFactionCombatReaction"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>DoctaSax (added the info) |
||
Line 1: | Line 1: | ||
{{Function | |||
|origin = GECK1 | |||
|summary = Returns the combat reaction type between two factions. | |||
|name = GetFactionCombatReaction | |||
|returnType = int | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = faction | |||
|Type = form | |||
}}{{FunctionArgument | |||
|Name = faction | |||
|Type = form | |||
}} | |||
}} | |||
Return values: | |||
*0 = Neutral: This is how all factions relate to each other by default, even if you don't specify it. Neutrals will be attacked by Very Aggressive actors. | |||
*1 = Enemy: Enemy actors are attacked on sight by Aggressive and Very Aggressive actors. | |||
*2 = Ally: Allies cannot attack each other under any circumstances. An actor's Assistance setting determine whether it will help an Ally in combat or not. | |||
*3 = Friend: Friends cannot attack each other under any circumstances. An actor's Assistance setting determine whether it will help a Friend in combat or not. | |||
==See Also== | |||
*[[GetFactionReaction]] | |||
*[[SetAlly]] | |||
*[[SetEnemy]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Faction Functions]] | |||
[[Category:Functions (GECK 1.1)]] | [[Category:Functions (GECK 1.1)]] |
Latest revision as of 15:03, 6 March 2017
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Returns the combat reaction type between two factions.
Syntax
(int) GetFactionCombatReaction faction:form faction:form
Return values:
- 0 = Neutral: This is how all factions relate to each other by default, even if you don't specify it. Neutrals will be attacked by Very Aggressive actors.
- 1 = Enemy: Enemy actors are attacked on sight by Aggressive and Very Aggressive actors.
- 2 = Ally: Allies cannot attack each other under any circumstances. An actor's Assistance setting determine whether it will help an Ally in combat or not.
- 3 = Friend: Friends cannot attack each other under any circumstances. An actor's Assistance setting determine whether it will help a Friend in combat or not.