Impossible but happen

0 favourites
  • 4 posts
  • Escuse me before I have write in a wrong session.

    According to you how is it possible that:

    -> System: Set point_partita_giallo to p_giallo + p_giallo2

    where is it

    p_giallo = 100

    p_giallo2 = 150

    points_partita_giallo = 500

    Terrible

    But it has always worked since yesterday, so instead of giving 250 sometimes doubles at times triples

    Suggest please I am stopped

    Mimmo

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • This must be because this event is triggert multiple times in some situations. But it is impossible for us to say why, if we can not take a look at your code.

  • This is the code

    + Function: On "punteggio_mano"

    + System: arr_punt_quadri.At(carta_girata-1,1) > 0

    ----+ a_SwitchCase: Switch Function.Param(0)

    -----> System: Set p_giallo to 0

    --------+ a_SwitchCase: Case compare switch var = "giallo"

    ---------> System: Set p_giallo to pp_giallo

    ---------> System: Set pp_giallo to 0

    ---------> Function: Call "agg_giallo" (p_giallo)

    ---------> a_SwitchCase: Break

    --------+ a_SwitchCase: Case compare switch var = "blu"

    ---------> System: Set punti_partita_blu to int(punt_part_blu.Text)+punti_asta_n

    ---------> punt_part_blu: Set text to punti_partita_blu

    ---------> Audio: Play Zen Temple Bell-SoundBible.com-2070036999 not looping at volume 0 dB (tag "")

    ---------> a_SwitchCase: Break

    --------+ a_SwitchCase: Case compare switch var = "verde"

    ---------> System: Set punti_partita_verde to int(punt_partita_verde.Text)+punti_asta_n

    ---------> punt_partita_verde: Set text to punti_partita_verde

    ---------> Audio: Play Zen Temple Bell-SoundBible.com-2070036999 not looping at volume 0 dB (tag "")

    ---------> a_SwitchCase: Break

    -------------------

    + Function: On "agg_giallo"

    -> System: Set pp_giallo to Function.Param(0)+punti_asta_n

    -> punt_part_giallo: Set text to pp_giallo

    -> Audio: Play Zen Temple Bell-SoundBible.com-2070036999 not looping at volume 0 dB (tag "")

    il suono è messo per capire se davvero passa puù volte nella procedura, ma lo esegue una volta sola

    I tre case sono diversi ma si compoortano in maniera uguale

    The audio is put for

  • Excuse me a sentence in Italian has escaped me.

    The sound is set to understand if it actually passes through the procedure several times, but does it only once

    The three houses are different but behave equally.

    Thanks for the help

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)