Aller au contenu

Photo

informational popups for longer than 3 seconds?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
mikemike37

mikemike37
  • Members
  • 669 messages
I'm looking for a way to display floating text on an examine, in exactly the same way as a placeable with StateController_Informational does... except I need to display the text for longer than 3 seconds; ideally 10 seconds. Does anyone know of a way to do this? any solution (scripting or changing placeable behaviour) is very welcome.

thanks in advance

Modifié par mikemike37, 02 avril 2010 - 12:07 .


#2
Craig Graff

Craig Graff
  • Members
  • 608 messages
[dascript]
    object oPlaceable;
    object oTarget;
    string sText = GetPlaceablePopupText(oPlaceable);
    if (GetStringLength(sText))
    {
        DisplayFloatyMessage(oTarget, sText, FLOATY_MESSAGE, UI_DISPLAY_COLOR_POPUP, 10.0);       
    }
[/dascript]

#3
mikemike37

mikemike37
  • Members
  • 669 messages
you are my hero!