Difference between revisions of "02AB"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 02AB=6,%1d% %2d% %3d% %4d% %5d% %6d% | description = Sets the immunities of a character | p1 = Existing actor handle | p2 = Bullet-proof | p3 ...)
 
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''SET_CHAR_PROOFS'''
| ini        = 02AB=6,%1d% %2d% %3d% %4d% %5d% %6d%
+
<hr />
| description = Sets the immunities of a character
+
'''Description'''
| p1          = Existing actor handle
+
: Sets the proofs of a character
| p2          = Bullet-proof
+
'''Syntax'''
| p3          = Fire-proof
+
: 02AB: set_actor [''char handle''] immunities [''int1''] [''int2''] [''int3''] [''int4''] [''int5'']
| p4          = Explosion-proof
+
: 02AB: set_actor [''char handle''] immunities BP [''int1''] FP [''int2''] EP [''int3''] CP [''int4''] MP [''int5'']
| p5          = Collision-proof
+
'''Parameter'''
| p6          = Melee-proof
+
: [''int1'']
| game        = GTA3, Vice City, San Andreas
+
:: Bullet-proof
| native      = [[SET_CHAR_PROOFS]]
+
: [''int2'']
}}
+
:: Fire-proof
This opcode sets the immunities of a character. Bullet-proof will prevent the character from being damaged by bullets. Fire-proof will prevent the character from being damaged by fire. Explosion-proof will prevent the character from being damaged by explosions. Collision-proof will prevent the character from being damaged by collisions. Melee-proof will prevent the character from being damaged by melee-type weapons (fists, chainsaw, etc.).
+
: [''int3'']
 +
:: Explosion-proof
 +
: [''int4'']
 +
:: Collision-proof
 +
: [''int5'']
 +
:: Melee-proof
 +
'''Native analog'''
 +
: [[SET_CHAR_PROOFS]]
  
==Keywords==
+
This opcode sets the proofs of a character. Bullet-proof will prevent the character from being damaged by bullets. Fire-proof will prevent the character from being damaged by fire. Explosion-proof will prevent the character from being damaged by explosions. Collision-proof will prevent the character from being damaged by collisions. Melee-proof will prevent the character from being damaged by melee-type weapons (fists, chainsaw, etc.).
set, actor, character, immunity, immunities, damage, everythingproof, bulletproof, fireproof, explosionproof, collisionproof, dentproof, everything-proof, bullet-proof, fire-proof, explosion-proof, collision-proof, dent-proof
+
 
 +
== Keywords ==
 +
set, actor, character, immunity, immunities, immune, proof, damage, everythingproof, bulletproof, fireproof, explosionproof, collisionproof, dentproof, everything-proof, bullet-proof, fire-proof, explosion-proof, collision-proof, dent-proof
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 20:34, 26 January 2015

GTA III Vice City San Andreas SET_CHAR_PROOFS


Description

Sets the proofs of a character

Syntax

02AB: set_actor [char handle] immunities [int1] [int2] [int3] [int4] [int5]
02AB: set_actor [char handle] immunities BP [int1] FP [int2] EP [int3] CP [int4] MP [int5]

Parameter

[int1]
Bullet-proof
[int2]
Fire-proof
[int3]
Explosion-proof
[int4]
Collision-proof
[int5]
Melee-proof

Native analog

SET_CHAR_PROOFS

This opcode sets the proofs of a character. Bullet-proof will prevent the character from being damaged by bullets. Fire-proof will prevent the character from being damaged by fire. Explosion-proof will prevent the character from being damaged by explosions. Collision-proof will prevent the character from being damaged by collisions. Melee-proof will prevent the character from being damaged by melee-type weapons (fists, chainsaw, etc.).

Keywords

set, actor, character, immunity, immunities, immune, proof, damage, everythingproof, bulletproof, fireproof, explosionproof, collisionproof, dentproof, everything-proof, bullet-proof, fire-proof, explosion-proof, collision-proof, dent-proof