Difference between revisions of "04D6"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
 
Line 2: Line 2:
 
| games      = {{Icon|VC}} {{Icon|SA}}
 
| games      = {{Icon|VC}} {{Icon|SA}}
 
| command    = SET_ENABLE_RC_DETONATE_ON_CONTACT
 
| command    = SET_ENABLE_RC_DETONATE_ON_CONTACT
| description = Sets detonation on contact of an RC Bandit
+
| description = Sets detonation on contact of RC Bandits
 
| syntax1    = 04D6: enable_rc_car_detonation [''int'']
 
| syntax1    = 04D6: enable_rc_car_detonation [''int'']
 
| p1t        = [''int'']
 
| p1t        = [''int'']
Line 8: Line 8:
 
}}
 
}}
  
This opcode sets detonation on contact of an RC Bandit. A remote-controlled RC Bandit is created using [[010C]] or [[046E]], and both opcodes allow it detonate on contact with the wheels of any four-wheeled vehicles by default. This includes helicopters (which are technically four-wheeled) but excludes motorbikes. When a [[00D8|mission cleanup]] is processed, the resulting behavior is equivalent to setting the value of the opcode to 1, the default behavior.
+
This opcode sets detonation on contact of RC Bandits. A remote-controlled RC Bandit is created using [[010C]] or [[046E]], and both opcodes allow it detonate on contact with the wheels of any four-wheeled vehicles by default. This includes helicopters (which are technically four-wheeled) but excludes motorbikes. When a [[00D8|mission cleanup]] is processed, the resulting behavior is equivalent to setting the value of the opcode to 1, the default behavior.
  
 
== Keywords ==
 
== Keywords ==
 
set, enable, remote, controlled, car, rc, bandit, buggy, detonate, explode, contact
 
set, enable, remote, controlled, car, rc, bandit, buggy, detonate, explode, contact

Latest revision as of 07:44, 3 February 2016

Vice City San Andreas SET_ENABLE_RC_DETONATE_ON_CONTACT


Description
Sets detonation on contact of RC Bandits
Syntax
04D6: enable_rc_car_detonation [int]
Parameter
[int]
0 = disable, 1 = enable (default)

This opcode sets detonation on contact of RC Bandits. A remote-controlled RC Bandit is created using 010C or 046E, and both opcodes allow it detonate on contact with the wheels of any four-wheeled vehicles by default. This includes helicopters (which are technically four-wheeled) but excludes motorbikes. When a mission cleanup is processed, the resulting behavior is equivalent to setting the value of the opcode to 1, the default behavior.

Keywords

set, enable, remote, controlled, car, rc, bandit, buggy, detonate, explode, contact