Created
February 5, 2021 14:22
-
-
Save fre-sch/85ad630e6d114466d33a770496f46c08 to your computer and use it in GitHub Desktop.
Cyberpunk 2077 - Showing some (debug) information in redscripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let evt = new NotifyShardRead(); | |
evt.title = "Title for modal"; | |
evt.text = "Text for modal; | |
/* NotifyShardRead has other properties that can be left unset */ | |
let gi: GameInstance = player.GetGame(); /* any GameObject provides GetGame() -> GameInstance */ | |
GameInstance.GetUISystem(gi).QueueEvent(evt); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment