Empyrion: Galactic Survival Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Empyrion: Galactic Survival Wiki
976
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Game API CmdId
(section)
Back to page
Edit
VisualEditor
View history
Talk (0)
Edit Page
Game API CmdId
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Request_ShowDialog_SinglePlayer === '''Description:''' Sends a message to a player that will be shown as a message box with '''up to''' 2 buttons which you can set yourself. '''Param data:''' [[Game API DialogBoxData|DialogBoxData]] '''Corresponding''' '''event:''' [https://empyrion.gamepedia.com/Game_API_CmdId#Event_DialogButtonIndex Event_DialogButtonIndex] '''Sample:''' For Colors: color [c][hexid][-][/c] [c][019245]test[-][/c] GameAPI.Game_Request(CmdId.Request_ShowDialog_SinglePlayer, someNonZeroKey, new DialogBoxData() { Id = 15445, MsgText = "Do you like programming API Mods for Empyrion?", PosButtonText = "I Guess so", NegButtonText = "Certainly Not" });
Summary:
Please note that all contributions to the Empyrion: Galactic Survival Wiki are considered to be released under the CC BY-SA 3.0
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab