• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

InGame Loading Screen

Status
Not open for further replies.
Event - Elapsed game time is 0.01
Conditions -
Actions -

Turn on Loading Counter


Loading Counter
Events - Every X game seconds
Conditions -
If - Loading_Counter_Integer Less than 100
Then -
Set Loading_Counter_Integer = (Loading_Counter_Integer + 1)
Display the text "concenate string (Loading_Counter_Integer) + ( %))
Else -
Turn off This trigger
Do something. Fx. start the game.
 
Level 7
Joined
Feb 28, 2014
Messages
185
Event - Elapsed game time is 0.01
Conditions -
Actions -
Turn on Loading Counter


Loading Counter
Events - Every X game seconds
Conditions -
If - Loading_Counter_Integer Less than 100
Then -
Set Loading_Counter_Integer = (Loading_Counter_Integer + 1)
Display the text "concenate string (Loading_Counter_Integer) + ( %))
Else -
Turn off This trigger
Do something. Fx. start the game.

Thx ,now go and test
 
Find Game -> Text Message (Auto Timed)
Where you write the text you chose the drop down window and find "concenate string".
Click it and it will show "String 1" + "String 2" (or something like that).

String 1:
From the drop down window find Convert Integer to String and chose the Loading_Counter_Integer

String 2:
Just ype " %" (remember the space before "%", it just looks better)


For the record:
Loading_Counter_Integer is an Integer Variable (ask if you don't know what this is)
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
The percentage display is probably not only to have a delay time before the game starts. Meanwhile things should be loaded. So you have to at least make a guess how long the procedure takes or count the amount of assets in the beginning and plant counter incrementing actions within.
 
Status
Not open for further replies.
Top