Search found 105 matches

by OneManOnMars
Thu Mar 23, 2017 5:18 pm
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Re: Animation Problems writing a sequence

:D Thank you very much! I am very happy right now! So much is working at the end of the long working day. Thanks Tony for guiding me trough the mist. By the way this is how the commandscript looks now. For anyone to use: using UnityEngine; using System.Collections; using PixelCrushers.DialogueSystem...
by OneManOnMars
Thu Mar 23, 2017 3:36 pm
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Re: Animation Problems writing a sequence

1. Create a Conversation Trigger on a uniquely-named GameObject. Let's say it's called "ConvStarter". 2. Configure the Conversation Trigger's conversation, actor, and conversant. Set the trigger to On Use . 3. In the sequence, use a command like this: SendMessage(OnUse,,ConvStarter) Works...
by OneManOnMars
Thu Mar 23, 2017 3:30 pm
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Re: Animation Problems writing a sequence

Awesome! I'll give this a try! Speaking of writing a sequence command. I am trying do exactly do that. My command should flip the object(character) if he walks/looks into the other direction. So I checked the documentation. Sadly most of the scripts are blocked away behind dlls so I can't look at th...
by OneManOnMars
Thu Mar 23, 2017 2:14 pm
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Re: Animation Problems writing a sequence

Bye the way, is there a command to start a conversation from a sequence. This sequence is started on start. But it should start a conversation at one point. Is that possible. There seems not to be a command in the list. If you want me to start a new thread for that, please let me know. Sorry, for no...
by OneManOnMars
Thu Mar 23, 2017 2:11 pm
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Re: Animation Problems writing a sequence

Thanks Tony! Your very helpful, as allways. I do really appreciate that! Your solution does work with a simple addition: I have to add: PreviousSTate Notequal 9999 to the transition to IDLE! Like that it does not want to go back to idle anymore. And like this I can play any animation without changin...
by OneManOnMars
Thu Mar 23, 2017 2:01 pm
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Re: Animation Problems writing a sequence

:idea: Think I found a solution. Its not Notequal 10 that worked, but "Previous state != 10" this works at the moment. I'll see if I can work with that. This could end in a problem, if I want to use walk in a sequence because I could not ad the condition don't go to idle if the previous st...
by OneManOnMars
Thu Mar 23, 2017 1:49 pm
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Re: Animation Problems writing a sequence

While playing, select the Hero_Puppet and keep an eye on the Animator window. Is a script perhaps setting State back to 0? Does Hero_Puppet have any scripts that set animator parameters in Update(), FixedUpdate(), or LateUpdate()? (Or a coroutine?) You wrote that it works when you deleted the trans...
by OneManOnMars
Thu Mar 23, 2017 1:37 pm
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Re: Animation Problems writing a sequence

Thanks for the feedback. But it gives me the same result as before. It jumps to the new state, but then quickly jumps back to 0. Something has to push it to that state. But I have no idea what. Could it be the loop? Edit: Nope, the loop its not. http://www.bilder-upload.eu/upload/34cd33-1490291189.p...
by OneManOnMars
Thu Mar 23, 2017 10:51 am
Forum: Dialogue System for Unity
Topic: Animation Problems writing a sequence
Replies: 14
Views: 2176

Animation Problems writing a sequence

Hi, I am working on sequences right now so I had a good look at the built in command list. So far so good. Here is my test script: Fade(in,2); SetActive(HERO_SCENE_PREFAB, false);SetActiveHero_Puppet, true); SetEnabled(animationRandomizer, false, SpineMentor); AnimatorPlay(IDLE_ALT0, Hero_Puppet)@2;...
by OneManOnMars
Thu Mar 23, 2017 6:59 am
Forum: Dialogue System for Unity
Topic: OnTriggerEnter combined with Button Press
Replies: 23
Views: 10001

Re: OnTriggerEnter combined with Button Press

Thank you. I ended up adding a button with a standard script, was easier then figuring out out to use the proper solution.