Difference between revisions of "048A"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Icon|trilogy}} '''SET_ENABLE_RC_DETONATE'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = SET_ENABLE_RC_DETONATE
: Sets whether or not the RC vehicle you are using will explode when pressing the fire or secondary fire button.
+
| description = Sets manual detonation of RC vehicles
'''Syntax'''
+
| syntax1    = 048A: enable_rc_vehicle_detonation [''int'']
: 048A: set_RC_car_detonation [''int'']  
+
| p1t        = [''int'']
'''Parameters'''
+
| p1d        = 0 = disable, {{hint|1|or any value other than 0}} = enable (default)
: [''int'']
+
}}
::0 = Does not explode on key press
+
 
::1 = Explodes on press
+
This opcode sets manual detonation of RC vehicles. RC vehicles are created using [[010C]] or [[046E]], and both opcodes allow the player to manually detonate the vehicles by default, which can be done by pressing [[00E1|button 17 (attack)]]. 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 ==
car, RC, detonate, explode
+
set, enable, remote, controlled, car, rc, bandit, buggy, car, baron, goblin, raider, detonate, explode
 
 
[[Category:OpCodes]]
 

Latest revision as of 09:56, 1 February 2016

Vice City San Andreas SET_ENABLE_RC_DETONATE


Description
Sets manual detonation of RC vehicles
Syntax
048A: enable_rc_vehicle_detonation [int]
Parameter
[int]
0 = disable, 1 = enable (default)

This opcode sets manual detonation of RC vehicles. RC vehicles are created using 010C or 046E, and both opcodes allow the player to manually detonate the vehicles by default, which can be done by pressing button 17 (attack). 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, car, baron, goblin, raider, detonate, explode