Licenza da 75 € Accedi
DE EN FR ES IT CZ

NPC hidden at the beginning and later shown

Questa discussione ha qualche anno. Alcuni dettagli potrebbero riferirsi a una versione precedente di Visionaire Studio. Tutorial aggiornati

  1. · 12 years ago
    Hello, i have this little issue.
    I have a scene where the main character use the phone, and later start a conversation with an npc.
    the npc must be VISIBILE after that the character have do an action.

    - i have set a condition to npc in scene: "npc-visible" to false (the npc is not visible)
    -then in an action i add "change condition" to npc-visible to true. But npc is not shown.

    Should you suggest me why?

    thank you
  2. Stai lavorando a un gioco?

    La versione gratuita consente fino a 25 scene per progetto. Per più scene e per vendere il tuo gioco ti serve una licenza.

    Vedi le licenze Provalo gratis
  3. · 12 years ago
    Is this NPC a scene object or a character?
  4. · 12 years ago
    it's like glen tutorial, it's a character that stand in a scene object
  5. · 12 years ago
    You mean a character that you have linked to a scene object?

    1. unlink the npc characters starting position in the npc characters properties tab.

    2. use the set character to object or set character to position action part to bring in the character when you want it to be in the scene.

    3. alternatively you could set the character opacity (visibility) or use Lua to enable / disable the character with...
    Characters["character name"].CharacterActive = false -- hide character & prevent interaction
    
    -- or...
    
    Characters["character name"].CharacterActive = true -- show character & allow interaction
    
  6. · 12 years ago
    thank you
  7. · 10 years ago
    You mean a character that you have linked to a scene object?

    1. unlink the npc characters starting position in the npc characters properties tab.

    2. use the set character to object or set character to position action part to bring in the character when you want it to be in the scene.

    3. alternatively you could set the character opacity (visibility) or use Lua to enable / disable the character with...
    Characters["character name"].CharacterActive = false -- hide character & prevent interaction
    
    -- or...
    
    Characters["character name"].CharacterActive = true -- show character & allow interaction
    
    Hi, I am trying to use the visibility solution. But how do I set the visibility of the NPC at 0% when the game starts? (so I can turn it at 100% later in the game). I guess the show/hide functionality is also an option, but the same problem...

  8. · 10 years ago
    use "at begin use following action" in the game settings to run some actions before game starts. There you can place your action parts
  9. · 10 years ago
    I often use "action at the beginning of the scene" when the first scene appears.
  10. · 10 years ago
    use "at begin use following action" in the game settings to run some actions before game starts. There you can place your action parts

    Thx a lot Sebastian!

Questa discussione è chiusa perché nessuno risponde da più di un anno. Puoi fare la tua domanda in una nuova discussione.

Nuova discussione

Eliminare davvero questo messaggio?