Difference between revisions of "02AB"
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: | ||
− | {{ | + | {{Icon|trilogy}} '''SET_CHAR_PROOFS''' |
− | + | <hr /> | |
− | + | '''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]] | ||
− | ==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
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
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