Drawtext en variable

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #209127 quote
    supertiti
    Participant
    Master

    Bonjour à tous,

    Est -il possible de mettre en variable une ligne commençant par drawtext de façon a faire apparaître le signe ou pas sur le graphe.

    exemple :

    drawtext(“●”,barindex,fastln,Dialog,Bold,30) coloured(r,g,b)

    merci pour vos lumières

    Bon dimanche

    #209129 quote
    JC_Bywan
    Moderator
    Master

    Bjr,

    Mettre en variable la ligne drawtext directement, non, mais se servir d’une variable dans une structure if… then…endif, oui. Appelons la variable “montext”, qui =1 si on veut écrire le drawtext ou =0 si on ne veut pas, alors ça ferait quelque chose comme:

    if montext then
      drawtext(“●”,barindex,fastln,Dialog,Bold,30) coloured(r,g,b)
    endif
    #209133 quote
    supertiti
    Participant
    Master

    merci Jc je vais essayer d’en faire qq chose

    bon dimanche

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Drawtext en variable


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by supertiti
3 years, 1 month ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/05/2023
Status: Active
Attachments: No files
Logo Logo
Loading...