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 - Filipe

#81
Oh my god!!! I'm loosing my mind with AGS. I'm loving it, but also hating it :( Sorry, but I'm only starting... but every time I want to do something I run into problems.... snif, snif..

Ok, I want to animate an object. It is a kind of a character, but it stays in the same position -stalled, so I choose to animate an object instead of a NPC. I thought it was easy that way...

So I had a new inventory Item to my inventory (I guess this is the same as an object, or isn't it???!')  I then try to animate this object using the animate property like this:

iJohn.animate(1, 2);

But AGS is telling me that it doesn't recognize this property - Animate.... What am I doing wrong?!?!? HELP!!!

Thanks :)

I've see it here. Is this out of date?

https://www.adventuregamestudio.co.uk/wiki/Object_functions_and_properties#Object.Animate
#83
Thanks for replying. But How  can I have a non-player character animated then? Like a person moving around, randomly, doing stuff, in the same room on an endless in a loop?


Also, shouldn't the idle view of a character deal with this? I mean, when I put the non player character on a certain room it stays still, despite the idle view has 4 or more frames... I don'tt understand it... I have a policeman, that I want him to be like he is taking notes on a notepad, but he stays still in the same position, and stucked on the same frame... I don't understand... :(
#84
Hello guys,

I'm trying to make a Non Player Character moving, in a sort of random endless loop, in the same room...

I write some script on the room function room_RepExec () but this is not working. The player don't even walk once. I mean, he do the animation, but he stays on the same position, until you put eBlock:

Function room_RepExec ()
{
cSusan.Walk(255, 40, eNoBlock, eAnywhere);
}

The character only walks when the eBlock is chosen. I mean, it doesn't work when I put eNoBlock. I want her to keep on moving always. I know I still have t make a loop... :)

Also is there a function besides walk, to animate a character that stays on same position which he is in? Like an a flower?

I did also a script, so that when I interact with that character he starts walking, but the same thing happens, he only walks when it is eBlock... :(

Thansk, I'm only starting with AGS :)

#85
Thanks a lot. Do you know what happened to the author, ? Is YouTube channel is stalled for too long... :(
#86
Hello, I really want to download this book, or to buy it. Does any one knows where I can find it? Thanks :)
SMF spam blocked by CleanTalk