• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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