Difference between revisions of "FelonyStartChase"

From Nomad DB
(Created page with "Starts a systemic chase of the specified faction on the specified pawn == Syntax == <syntaxhighlight lang="lua"> FelonyStartChase(targetEntityId, felonyType, felonyL...")
 
Line 1: Line 1:
Starts a systemic chase of the specified faction on the specified [[Pawn|pawn]]
+
Starts a systemic chase of the specified [[Affiliation|faction]] on the specified [[Pawn|pawn]]
  
 
== Syntax ==
 
== Syntax ==
Line 26: Line 26:
 
|-
 
|-
 
| 1
 
| 1
| AFI
+
| FFI
 
|-
 
|-
 
| 3
 
| 3
| P_8
+
| Prime_Eight
 
|-
 
|-
 
| 6
 
| 6
| T_13
+
| Tezcas
 
|-
 
|-
 
| 9
 
| 9
| Boys
+
| Auntie Shu Boys
 
|-
 
|-
 
| 10
 
| 10
| Ridaz
+
| 580s
 
|-
 
|-
 
| 11
 
| 11
| UZulu
+
| Umeni
 
|-
 
|-
 
| 12
 
| 12
Line 47: Line 47:
 
|-
 
|-
 
| 15
 
| 15
| Wolves
+
| Sons of Ragnarok
 
|}
 
|}
  

Revision as of 13:49, 16 April 2020

Starts a systemic chase of the specified faction on the specified pawn

Syntax

FelonyStartChase(targetEntityId, felonyType, felonyLevel, startAction)
  • targetEntityId (string): ID of the pawn to start the chase on
  • felonyType (number): ID of the faction to chase the target entity
  • felonyLevel (number): Felony level to start the chase at (1 - 5)
  • startAction (number): Behavior to start the chase with (2 = default; 3 = search)
  • Returns (string): ID of the spawned entity.

Example

Starts a police chase on the local player.

FelonyStartChase(GetLocalPlayerEntityId(), 0, 3, 2)

Factions

ID Name
0 Police
1 FFI
3 Prime_Eight
6 Tezcas
9 Auntie Shu Boys
10 580s
11 Umeni
12 Bratva
15 Sons of Ragnarok

Related Pages