Difference between revisions of "0586"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 0586=1, %1d% | description = Checks if the distribution ped is finished dealing | p1 = Existing actor handle | game = Vice City }} This opcode...)
 
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0586=1,  %1d%
+
| games      = {{Icon|VC}}
| description = Checks if the distribution ped is finished dealing
+
| command    = HAS_CHAR_ATTEMPTED_ATTRACTOR
| p1          = Existing actor handle
+
| description = Checks if the distribution ped has been attracted
| game        = [[Vice City]]
+
| syntax1    = 0586:   actor [''char handle''] has_attempted_attractor
 +
| p1t        = [''char handle'']
 +
| p1d        = The handle of the character
 
}}
 
}}
This opcode checks if a ped is finished dealing after being captured by opcode [[058F]]. This opcode is only used during the Distribution mission.
 
  
==Keywords==
+
This opcode returns true if the character was captured by opcode [[058F]] and has finished buying or has failed to buy ice cream after using opcode [[0580]]. The original script called this opcode during "Distribution".
check, actor, ped, character, capture, distribution
+
 
 +
== Keywords ==
 +
check, actor, ped, character, capture, distribution, attempted, attractor

Latest revision as of 23:47, 3 December 2016

Vice City HAS_CHAR_ATTEMPTED_ATTRACTOR


Description
Checks if the distribution ped has been attracted
Syntax
0586:   actor [char handle] has_attempted_attractor
Parameter
[char handle]
The handle of the character

This opcode returns true if the character was captured by opcode 058F and has finished buying or has failed to buy ice cream after using opcode 0580. The original script called this opcode during "Distribution".

Keywords

check, actor, ped, character, capture, distribution, attempted, attractor