This command should be called between calls to AddStage and CloseStage.
Syntax
SetHUDIcon( icon_name );
Game.SetHUDIcon( icon_name )
- icon_name: The name of the sprite to use as a HUD icon.
-
- If the
p3d
file containing this sprite is not loaded when the stage is reached, then no HUD icon will be used.
- If the
Examples
SelectMission("m3");
...
AddStage();
SetHUDIcon("simpsons");
AddObjective("dummy");
...
CloseObjective();
CloseStage();
CloseMission();
Game.SelectMission("m1")
...
Game.AddStage()
Game.SetHUDIcon("simpsons")
Game.AddObjective("dummy")
...
Game.CloseObjective()
Game.CloseStage()
Game.CloseMission()
Notes
No additional notes.