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

Messages - myname

#41
Ha yea I have my connections but seriously thanks for helping guys.
#42
1. 2.73
2. Yes sir
3. didnt change anything but you were right it should have been 0
4.  Thanks for helpin man but this is too discouraging Im just gonna change the game to avoid the problem
womp womp
#43
Thanks for stickin with me ONeDollar and rying to help but the problem tht arises now is tht Jsper does not perform his animation at all.  Not when you begin in the room or when he is given the item.  This is what I have

function on_call (int value){
  if (value==1){
    oBlood.SetView(20); 
    cJasper.LockView(5); 
    cJasper.Animate(0, 17, eRepeat, eNoBlock, eForwards); 
    oBlood.Animate(1, 5, eOnce, eBlock, eForwards); 
    cJasper.UnlockView();
    cJasper.Walk(35, 135, eBlock, eWalkableAreas); 
  }




}

function room_AfterFadeIn()
{
  cJasper.Animate(5, 17, eRepeat, eNoBlock, eForwards);  //start mopping after fade-in
}
#44
Thanks for the reply ProgzMax before I try it ill explain more like I shuld have to begin with.  Jasper is mopping on  a constant looping animation as sooon as the player enters the room
cJasper.Animate(cJasper.Loop, 17, eRepeat, eNoBlock);
he is constantly over the blod mopping wthout it decreasing but when the player gives an item to Jasper the blood is then supposed to decrease untill gone hich allows Jasper to move elsewhere.  Sorry I thought with ll the replys that people understood the situation.
#45
The problem i am having now is that the blood does not run its animation so Jasper is waiting for it to change views so he can move but nothing is happening so he continues idle animation and the blood stays the same.  Thanks a lot for trying to help me OneDollar I might just find another way around this but I havent figured out  better avenue to take in the animation process.  I know I am going to run into similar problems in the future I just wish I knew how to fix this one.
#46
Dude I'm sorry its still not working I have no idea what to do.  Thanks for trying man.  If you have any other ideas I'll try anything. 
#47
Thanks OneDollar but the problem I was having befoe with that is that the game does not recognize oBLOOD when out of the roomscript.
#48
Thanks VK Dan I am an idiot.  But now the npc stays in place but the object never starts its animation.   >:(
#49
Thanks for the reply monkey but now I get a Parse error unexpected 'if' message. ???


// room script file


#sectionstart room_a  // DO NOT EDIT OR REMOVE THIS LINE
function room_a() {
  // script for Room: Player enters room (after fadein)
cJasper.Animate(cJasper.Loop, 17, eRepeat, eNoBlock);
cNancy.Animate(cNancy.Loop, 22, eRepeat, eNoBlock);
cBigworm.Animate(cBigworm.Loop, 13, eRepeat, eNoBlock);}
if (player.ActiveInventory == inventory[6]) {oBlood.SetView(20);
oBlood.Animate(0, 40, eOnce, eBlock, eForwards);
cJasper.Walk(35, 135, eBlock);}}
#sectionend room_a  // DO NOT EDIT OR REMOVE THIS LINE
#50
Thank you KhrisMUC but it still says it is an undefined token.
BLOOD.SetView(20);
BLOOD.Animate(0, 40, eOnce, eBlock, eForwards);
cJasper.Walk(35, 135, eBlock);
#51
Thanks for the help Onedollar but now I get an error message that says my oBlood is undefined even though that is what it is labeled as for script name. ???
#52
Thanks for the reply Mirek but I still have the same problem.  Is there maybe  better way I can animate this, I feel like I have maybe taken the lazy way out but I dont know.  Maybe not.
#53
My problem is I have a npc is mopping up blood and once he is given an inventory item to blood which i made an object starts it animation which like 6 frames of it disapearing then the npc is to move somewhere else in the room.  The problem I am having is the npc moves as soon as the animation starts so it appears the bood is being cleaned up by no ne until it is gone.  The npc's idle animation is mopping so if he could just stay put until the blood is finished its animation all would be great.  If anyone can help it would be greatly appreciated.
#54
Ha yea I changed the direction he is moving to more of a straight shot and now he doesnt change veiws but does a mopping action which is his looping animation up to the point.  It is pretty humorous but not what I was trying to do.
#55
Thank you for your help and I am trying to script more to get use to it little by little.  Although when I click the inv item on the character he just stops his looping animation and does not move anywhere.  I have tried to have him change views before he moves but that just has him turn the right direction but not mve and not even cycle through the all of the view sprites. 
#56
1. Cool thanks a lot.  Sounds like something I should have tried.

2.I am using the use inventory on character shortcut under character interactions.  I found it odd that i didnt have to pick which item was used on the npc to get an action but then again its not working anyway.
#57
This might be exempifying my laziness but is it possible to have a npc move from a to b straight up with creating only the single walking view.  Meaning do I have to create all 4 directions if I am only going to use only 1?  Also, when I use an inventory item on a npc that is supposed to make him move somewhere he does nothing.  Any help would be greatly appreciated.
#58
Yea, that was much easier. Thank you KhrisMUC, BaRon and Radiant for your help.
#59
Thanks for the reponse BaRon but it is still not working.  The idle animation will not pick back up after the dialog is finished.  I am going to look through the manual again.
#60
Thank you for the reply but when I ue the code in the room script I get the error message:
'.IsAnimating' is not a publc member of 'Character'.
Any ideas or am I just being an idiot?
SMF spam blocked by CleanTalk