• 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.

[Trigger] Top line of quest gets cut-off (in-game)

Status
Not open for further replies.
Level 3
Joined
Jun 9, 2010
Messages
31
Hey, should be one of my last questions concerning my map.

When I access the quest menu in-game, when I try and view my changelog, the very top line is cut off. Everything else shows, however. An idea on what the problem is?

  • Help Guide
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Sound - Play Hint <gen>
      • Quest - Flash the quest dialog button
      • Quest - Create a Required quest titled About the Game with the description This game is what's..., using icon path ReplaceableTextures\CommandButtons\BTNDefend.blp
      • Quest - Mark (Last created quest) as Discovered
      • Quest - Create a Optional quest titled Changelog with the description v 0.02 - First func..., using icon path ReplaceableTextures\CommandButtons\BTNGreaterRejuvScroll.blp
      • Quest - Mark (Last created quest) as Discovered
      • Quest - Create a Required quest titled First Time Playing? with the description Welcome, and thanks..., using icon path ReplaceableTextures\CommandButtons\BTNBookOfTheDead.blp
      • Quest - Mark (Last created quest) as Discovered
This is what's written in the changelog:

CHANGELOG:

v 0.02 - First functional version of the map. Includes completed
terrain, A camera-depth lock, an initial countdown, and the abiltiy
to choose difficulties and lives. Adds a leaderboard to the player's screen displaying the amount of lives left and the current wave
number.

v. 0.04 - Adds a difficulty modifier to the game, a cluster-spawn
system for the waves, a life-detraction system, a pathing system,
and waves 1-9

v. 0.06 - Added new features (invulnerable towers and builder),
added post-wave bonus reward, added waves 10-21.

v. 0.08 - Added waves 22-38

v. 0.09 - Changed leaderboard title to reflect chosen difficulty, completely re-designed spawn and unit pathing systems,
added music, changed map to 37 waves (removed a wave).

v. 0.095 - Slightly bugged, but first fully functional version of
the game (that is possible to start and runs all end-game
conditions correctly). Finished all the remaining waves (39-50),
added an end-set reward, fixed bugs and memory leaks
concerning the unit pathing system.

v. 0.097 - Added level skip for testing purposes, as well
as the ability to start the game early (if time is left for building).

v. 1.01 - First public version of the game, used in the
Graduation Project Presentation. Adds numerous features,
including a tutorial for new players and a changelog in
the Help menu, and fixes a bug with the -done command
as well as adding a limit to the wave rewards.


CHANGELOG:

terrain, A camera-depth lock, an initial countdown, and
the abiltiy to choose difficulties and lives. Adds a
leaderboard to the player's screen displaying the
amount of lives left and the current wave number.

v. 0.04 - Adds a difficulty modifier to the game, a
cluster-spawn system for the waves, a life-detraction
system, a pathing system, and waves 1-9

v. 0.06 - Added new features
(invulnerable towers and builder), added post-wave
bonus reward, added waves 10-21.

v. 0.08 - Added waves 22-38

v. 0.09 - Changed leaderboard title to reflect chosen
difficulty, completely re-designed spawn and unit
pathing systems, added music, changed map to 37
waves (removed a wave).

v. 0.095 - Slightly bugged, but first fully functional version of the game (that is possible to start and runs all end-game conditions correctly). Finished all the remaining waves (39-50), added an end-set reward, fixed bugs and memory leaks concerning the unit pathing system.

v. 0.097 - Added level skip for testing purposes, as well as the ability to start the game early (if time is left for building).

v. 1.01 - First public version of the game, used in the Graduation Project Presentation. Adds numerous features, including a tutorial for new players and a changelog in the Help menu, and fixes a bug with the -done command as well as adding a limit to the wave rewards.


Notice that it starts at the word "terrain." Is there a limit on how many characters can be put into a quest box?
 
Try splitting up your text into two or three and add them together (concatenation), and then see what happens. If you are running into the string character limit, that will fix it.

If it still doesn't show up properly, then that means that there is a quest box character/line limit.

Sorry, I'd test it myself but I am not at my WE comp. Good luck.
 
Yes there is limit.
But I tried this and it worked:
JASS:
function Trig_Melee_Initialization_Actions takes nothing returns nothing
    local string s = "v 0.02 - First functional version of the map. Includes completed 
terrain, A camera-depth lock, an initial countdown, and the abiltiy 
to choose difficulties and lives. Adds a leaderboard to the player's screen displaying the amount of lives left and the current wave 
number.

v. 0.04 - Adds a difficulty modifier to the game, a cluster-spawn 
system for the waves, a life-detraction system, a pathing system,
and waves 1-9

v. 0.06 - Added new features (invulnerable towers and builder), 
added post-wave bonus reward, added waves 10-21.

v. 0.08 - Added waves 22-38

v. 0.09 - Changed leaderboard title to reflect chosen difficulty, completely re-designed spawn and unit pathing systems, 
added music, changed map to 37 waves (removed a wave)."
local string s2 = "
v. 0.095 - Slightly bugged, but first fully functional version of
the game (that is possible to start and runs all end-game 
conditions correctly). Finished all the remaining waves (39-50), 
added an end-set reward, fixed bugs and memory leaks 
concerning the unit pathing system.

v. 0.097 - Added level skip for testing purposes, as well 
as the ability to start the game early (if time is left for building).

v. 1.01 - First public version of the game, used in the 
Graduation Project Presentation. Adds numerous features, 
including a tutorial for new players and a changelog in 
the Help menu, and fixes a bug with the -done command 
as well as adding a limit to the wave rewards."
    call CreateQuestBJ( bj_QUESTTYPE_REQ_DISCOVERED, "Changelog", s + s2, "ReplaceableTextures\\CommandButtons\\BTNAmbush.blp" )
endfunction

//===========================================================================
function InitTrig_Melee_Initialization takes nothing returns nothing
    set gg_trg_Melee_Initialization = CreateTrigger(  )
    call TriggerAddAction( gg_trg_Melee_Initialization, function Trig_Melee_Initialization_Actions )
endfunction

Code is horrible but it was quick setup.
 
Status
Not open for further replies.
Top