TIp showing

Asked by cybermind

It's possible to show tips using triggers:
--Just add it into SinglePlayerTriggers()
AddTrigger(
    function()
  if preferences.ShowTips then
   if IsNetworkGame()==false then
    SetGamePaused(true)
   end
   RunTipsMenu(true)
   return true
  else
   return true
  end
 end,
    function() return false end)
But trigger shows also when replay started, so it's need to add some checking variable which set to "true" when game starts except replay starting, and set to false in InitGameSettings()

Question information

Language:
English Edit question
Status:
Solved
For:
Wargus Edit question
Assignee:
Pali Edit question
Last query:
Last reply:
Revision history for this message
Pali (pali) said :
#1

Can you fix problem with replay and send patch for Wargus?

Revision history for this message
Pali (pali) said :
#2

Now tips are not shown when replay started. Fixed in rev. 1563:
http://bazaar.launchpad.net/~stratagus/wargus/trunk/revision/1563