Difference between revisions of "04D6"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{Icon|trilogy}} '''SET_ENABLE_RC_DETONATE_ON_CONTACT'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = SET_ENABLE_RC_DETONATE_ON_CONTACT
: Sets whether or not the RC vehicle you are using will explode on contact with another vehicle's wheels.
+
| description = Sets detonation on contact of an RC Bandit
: Only works with the RC Bandit.
+
| syntax1    = 04D6: enable_rc_car_detonation [''int'']
'''Syntax'''
+
| p1t        = [''int'']
: 04D6: enable_RC_car_detonation [''int'']  
+
| p1d        = 0 = disable, {{hint|1|or any value other than 0}} = enable (default)
'''Parameters'''
+
}}
: [''int'']
+
 
::0 = Does not explode on contact with another vehicle's wheels
+
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.
::1 = Explodes on contact with another vehicle's wheels
 
  
 
== Keywords ==
 
== Keywords ==
car, RC, detonate, explode
+
set, enable, remote, controlled, car, rc, bandit, buggy, detonate, explode, contact
 
 
[[Category:OpCodes]]
 

Revision as of 04:03, 2 February 2016

Vice City San Andreas SET_ENABLE_RC_DETONATE_ON_CONTACT


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

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 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