Difference between revisions of "04D6"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
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 RC Bandits
: 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 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.
::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]]
 

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