Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Animations question...

  • #1, de denis- h 13 years ago Zitieren
    Hi guys!
    I have a little question!I it's possible in Visionaire check which frame is playing?

    For example ... i have my npc character with SOME randoms animations ..i need to set a condition... if animation 1 playing display a text "ok" else... display a text "hello"
    Thanks a lot !grin
  • #2, de afrlme h 13 years ago Zitieren
    hmm you can assign actions to individual animation frames & you can also use Lua for checking animation frames.

    if you check the random flight script by divo in the community wiki linked above, then you will find an example of frame checking with Lua in action.

    *edit: I tried to attach some images but for some reason it doesn't want to let me.
  • #3, de denis- h 13 years ago Zitieren
    Thanks AFRLme for the answer!! have already seen the script but i don't understand how LUA works!!
    It's possible for you show me an example ??? Where i must put the "call" to script in visionaire ? (es. at begin of scene?)

  • #4, de afrlme h 13 years ago Zitieren
    hmm can you not sort it by assigning actions to individual animation frames within the editor itself?

    I'm a little strapped for time at the minute for providing Lua examples - currently in the middle of designing a website for a client which I've to finish in the next couple of weeks.

    I can tell you however that what you are thinking of with call script wouldn't be the way to go about it.
    we'd use a definition script so we could set up some functions for checking either via an event listener/handler or by using the execute a script action part or a combination of both.

    I'll have a go at uploading those screenshots to my previous message & see if VS community feels like playing ball now.

    *edit: and apparently it still doesn't seem to want to let me!
    go to your character animations & click on a frame you want to assign an action to & then look for the edit frame button on the editor above the animation preview section & then assign your actions via the "action" section on the bottom left of the animation edit box that popped up. Simpler than using Lua; if you don't understand it very well or at all wink
  • #5, de denis- h 13 years ago Zitieren
    Wow! this evening was at Canon meeting in Verona .Beautiful location and good food (and wine)!!

    I see you post now and...
    "You are a GENIUS!!! "Tomorrow (ops... today now ;D) i'll try then let you know!!!
    Thanks a lot AFRLme

    ps What it means AFRL me ?!?grin
  • #6, de afrlme h 13 years ago Zitieren
    it is an abbreviation of my company & the me part was shortened from "me please" which was taken from Amanda Show with the nerdy stalker blogger who said "please" at the end of every sentence...
    My previous username was "AFmeplease" which was supposed to mean "Alternating Frequencies me please" but err most likely most people saw it as "ass fuck me please" (probably) which doesn't look too good, as I'm not particularly into er that sort of thing myself! razz

    in this particular case however it means: Alternating Frequencies Record Label & Media.
  • #7, de denis- h 13 years ago Zitieren
    Nice "AssFuckmeplease!!!" but not so professional i suppose!
    Ps your method..... WOoooooRK!SSS! (me satanic laughter!!! twist
    Now i have the frame control....go for the next step.
    Thanks thousand!!!
  • #8, de afrlme h 13 years ago Zitieren
    welcome & no it wasn't very professional sounding wink