0x0024

From SimsWiki
Revision as of 21:10, 11 March 2007 by Jfade (Talk | contribs)

Jump to: navigation, search

Primitive 0x0024 "Dialog" is used to display informations like "The car pool will arrive in one hour" and / or to display messages to which the player can reply by clicking on buttons like "Yes", "No" and "Cancel".

These are the necessary operands for 0x0024 in Node Version 0x00:

Byte 0: Text on "Cancel"-button Byte 1: Byte 2: Text of the message itself Byte 3: Text on "Yes"-button Byte 4: Text on "No"-button Byte 5: Determines the type of the message (*) Byte 6: Text of title, if a title should be displayed Byte 7: wait / don't wait for user

       00 = wait for user
       01 = don't wait for user

0x0024 refers to the STR# 0x0000012D ( = Text List ). Please remember that line 0x00 in the text list is "01" in the operands field, line 0x01 is "02", and so on.


(*) These are the types of messages that I found out so far (taken from EP 1 to EP 4). Depending on this type, certain bytes may be filled or simply left with "00":

00: Message
01: yes-no message
02: yes-no-cancel message
03: text entry
04: tutorial
05: Phone Book - Services
06: Phone Book - Invite
07: Phone Book - Party
08: Text Notification
09: Stop Text Notification
0A: Text Notification Modify
0B: Magazine Rack
0C: Jewelry Rack
0D: VideoGame Rack
0E: Food Rack
0F: Special Phone Services
10: Clothing Purchase
11: Clothing Selection
12: Tutorial Task
13:  List Selection
14: Clothing Try On
15: Vanity Table
16: TutorialNext
17: Baby Name
18: Set Aspiration
19: TutorialNext Modal
1A: Set Major
1B: Resurrectonomitron
1C: Fire Forget Append
1D: Move Grave To Lot
1E: Visit Another Lot
1F: Dating Services
20: Manage Groups
21: Phone Groups
22: Set Turn On/Off's
23: Customize Your Craftable
24: Sims Available for Hire
25: Choose a Lot to Purchase
26: Choose a Lot to Transfer Ownership: [none]
27: Choose a Lot
28: Set Price
29: Plan Business Outfit
2A: Buy Food
2B: Make Selection (Stock Remaining)
2C: "
2D: "
2E: Buy Clothing
2F: unknown (blank)
30: Set Wage
31: Suggest an Outfit
32: Would you like to hire?
33: Unknown
34: Unknown
35: Unknown
36: Unknown
37: Unknown
38: Unknown
39: Unknown
3A: Unknown
3B: Unknown
3C: Unknown
3D: Unknown
3E: Unknown
3F: Unknown
40: Unknown
41: Stock Fresh Produce (Found in Juicer)

Message type "00" will show a message with just the "OK" button, while message type "02" will provide a message with three buttons: yes, no, cancel.

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox