newbie question

Accueil Forums Scripts newbie question

  • Ce sujet contient 2 réponses, 3 participants et a été mis à jour pour la dernière fois par Anonyme, le il y a 12 années et 3 mois.
3 sujets de 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #2271 Répondre
    Anonyme
    Inactif

    what if I want an object to be created at a specific time ?
    I’ve tried to put this command :
    direct:// {(global_time>2)?(« add trigger 10″): »suppress »}

    but it seems iannix tries to add a trigger every 20ms when global time has pass 2 sec. and I just want it to do it once.

    In fact, another way that could be ok for me, is an object that remain still and invisible from 0 to 2 sec, and then start to act. but i have no idea how to do this.
    Any help appreciated…

    #2820 Répondre
    Anonyme
    Inactif

    Yeah, it is true.

    If you set this message « direct:// {(global_time>2)?(« add trigger 10″): »suppress »} « , after 2sec of playback, it will add a trigger each 20ms.

    Two possibilities :
    1/ you can put a cursor/curve/trigger system, with a trigger that is fired by the cursor after 2sec (a straight line, going from x=0 to x=3sec for example, with a cursor at normal speed and a trigger on the path of the cursor at x=2sec). You set the message « direct:// add trigger 10 » on this trigger.

    2/ Or, as you say, you disable the object at the beginning (uncheck active in the inspector). Then, set a message like « direct:// {(global_time>2)?(« setActive 10 1″): »suppress »}  » (setActive <0 to disable, 1 to enable>).

    Hop this can help!

    #2819 Répondre
    IanniX
    Maître des clés

    Hi guillaume,

    thanks for answering. Your first possibilitie is perfect for what I want to do !
    Gonna try this !

    Thanks !

3 sujets de 1 à 3 (sur un total de 3)
Répondre à : newbie question
Vos informations :





© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos