Difference between revisions of "054D"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 054D=1,display_message_at_stadium %1h% | description = Changes the text displayed at Hyman Memorial Stadium. | p1 = integer value | game …')
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[File:054D.jpg|thumb|right|The giant stadium scrollbar]]
 
{{OpCode
 
{{OpCode
| ini        = 054D=1,display_message_at_stadium %1h%
+
| games      = {{Icon|VC}}
| description = Changes the text displayed at Hyman Memorial Stadium.
+
| command    = SET_<wbr>TONIGHTS_<wbr>EVENT
| p1          = integer value
+
| description = Sets the [[Scrollbar#Vice City|scrollbar]] message at Hyman Memorial Stadium
| game        = [[Vice City]]
+
| syntax1    = 054D: display_message_at_stadium [''int'']
 +
| p1t        = [''int'']
 +
| p1d        = 0 = Hotring (default), 1 = Bloodring, 2 = Dirtring
 
}}
 
}}
This opcode is used in the game to announce, what event is held tonight at the stadium. It displays the text on the text banner, but doesn't change the big poster before the stadium.
 
  
== IDs ==
+
This opcode sets the appropriate event-specific message to display on the scrollbar at the Hyman Memorial Stadium. If the scrollbar is set to display a different message, the message will change once the current message finishes scrolling.
  
{|{{Prettytable}}
+
== Messages ==
! Value
+
; Regardless of setting
! Description
+
This message is displayed before and after the event-specific messages, regardless of the setting set by the opcode.
|-
+
{{Pre|
| 0
+
HYMAN MEMORIAL STADIUM. HOME TO SOME OF THE BIGGEST EVENTS OF THE WESTERN HEMISPHERE. ALSO AVAILABLE FOR CHILDREN PARTIES. . .
| Hotring
+
}}
|-
+
; 0 (Hotring)
| 1
+
{{Pre|
| Bloodring
+
MAIN EVENT TONIGHT: CAR RACING . . . 
|-
+
}}
| 2
+
{{Pre|
| Dirtring
+
FOR TICKETS TO THE HOT RING EVENT CALL 555-3764 . . . 
|}
+
}}
 
+
; 1 (Bloodring)
== Sanny Builder example ==
+
{{Pre|
 
+
MAIN EVENT TONIGHT: DESTRUCTION DERBY . . . 
<source lang="scm">:Label64153
+
}}
if
+
{{Pre|
   $8 == 0 // integer values
+
FOR TICKETS TO THE BLOOD RING EVENT CALL 555-3765 . . . 
jf @Label64207
+
}}
Object.Destroy($6)
+
; 2 (Dirtring)
$6 = Object.Init(#DTHOTRING_A, -1037.08, 1340.258, 36.552)
+
{{Pre|
Object.RemoveFromMissionCleanupList($6)
+
MAIN EVENT TONIGHT: BIKE RACING . . .    
054D: display_message_at_stadium 0 </source>
+
}}
 +
{{Pre|
 +
FOR TICKETS TO THE DIRT RING EVENT CALL 555-3766 . . .  
 +
}}
  
==Keywords==
+
== Keywords ==
stadium, message, hyman, memorial, downtown
+
set, display, stadium, message, text, scrollbar, event, hyman, memorial, downtown

Latest revision as of 02:02, 11 February 2016

The giant stadium scrollbar

Vice City SET_TONIGHTS_EVENT


Description
Sets the scrollbar message at Hyman Memorial Stadium
Syntax
054D: display_message_at_stadium [int]
Parameter
[int]
0 = Hotring (default), 1 = Bloodring, 2 = Dirtring

This opcode sets the appropriate event-specific message to display on the scrollbar at the Hyman Memorial Stadium. If the scrollbar is set to display a different message, the message will change once the current message finishes scrolling.

Messages

Regardless of setting

This message is displayed before and after the event-specific messages, regardless of the setting set by the opcode.

HYMAN MEMORIAL STADIUM. HOME TO SOME OF THE BIGGEST EVENTS OF THE WESTERN HEMISPHERE. ALSO AVAILABLE FOR CHILDREN PARTIES. . . 
0 (Hotring)
MAIN EVENT TONIGHT: CAR RACING . . .   
FOR TICKETS TO THE HOT RING EVENT CALL 555-3764 . . .   
1 (Bloodring)
MAIN EVENT TONIGHT: DESTRUCTION DERBY . . .   
FOR TICKETS TO THE BLOOD RING EVENT CALL 555-3765 . . .   
2 (Dirtring)
MAIN EVENT TONIGHT: BIKE RACING . . .   
FOR TICKETS TO THE DIRT RING EVENT CALL 555-3766 . . .   

Keywords

set, display, stadium, message, text, scrollbar, event, hyman, memorial, downtown