Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - wtknc

#1
Hello quick question I am trying to animate inside of a dialogue but when I click the correct dialogue option it gives me this error. "AnimateCharacter: invalid loop number specified" Sorry if this question has already been answered elsewhere but I could not find it anywhere.
Here is my code if you need it
Code: ags

// Dialog script file
@S  // Dialog startup entry point
  Display("He looks up at you with a grin.");
  Display("You think he is about to strike");
return
@1
  Display("You lunge forward at him with your knife");
  
stop
@2
  Display("You raise up your arm to block his thrust");
stop
@3
  Display("You quickly jump back");
  player.Animate(10,1,eOnce,eBlock,eForwards);
stop

Thank you in advance.
#2
Hi sorry if this question seems really easy to solve,but I am really new to scripting and the ags engine. Now onto the question. I am trying to make an animation between two characters for convenience I thought it would be better to switch the player model to both of the characters. The problem this creates is that the engine shifts the picture away from where they were both standing causing an ugly blink between the two spots. I have tried to have the new player sprite move to the place where the two separate sprites were but there is still that blink caused by the movement command.

Thank you in advanced for helping and if you know how to animate two characters an easier way please let me know. 
SMF spam blocked by CleanTalk