Difference between revisions of "04D6"
Jump to navigation
Jump to search
(page updates) |
|||
Line 1: | Line 1: | ||
− | {{Icon| | + | {{OpCode |
− | + | | games = {{Icon|VC}} {{Icon|SA}} | |
− | + | | command = SET_ENABLE_RC_DETONATE_ON_CONTACT | |
− | + | | description = Sets detonation on contact of an RC Bandit | |
− | + | | syntax1 = 04D6: enable_rc_car_detonation [''int''] | |
− | + | | p1t = [''int''] | |
− | + | | p1d = 0 = disable, {{hint|1|or any value other than 0}} = 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 [[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, | + | set, enable, remote, controlled, car, rc, bandit, buggy, detonate, explode, contact |
− | |||
− |
Revision as of 04:03, 2 February 2016
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