Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/23/26 20:38
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (EW_bytes, Martin_HH), 15,149 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animate Character #326130
05/30/10 16:00
05/30/10 16:00
Joined: May 2010
Posts: 63
J
JohnnyIsDutch Offline OP
Junior Member
JohnnyIsDutch  Offline OP
Junior Member
J

Joined: May 2010
Posts: 63
how can i animate a Character?
ent_animate(me,"walk", ????? ,ANM_CYCLE);

wath by ?????

Last edited by JohnnyIsDutch; 05/30/10 16:05.
Re: Animate Character [Re: JohnnyIsDutch] #326133
05/30/10 16:27
05/30/10 16:27
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
You have to fill in a variable that counts up.

function play_animation()
{
var counter;
var anim_speed = 10;// fill in here the wished animation apeed
while(1)
{
ent_animate(me,"walk", counter ,ANM_CYCLE);
counter += anim_speed * timestep;
counter %= 100;// if the counter is higher than 100 it proceeds at zero
wait(1);
}
}

But, there is an example in the manual, too.

Re: Animate Character [Re: Pappenheimer] #326135
05/30/10 16:42
05/30/10 16:42
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Helping a WAREZ USER???

Re: Animate Character [Re: Rei_Ayanami] #326137
05/30/10 16:51
05/30/10 16:51
Joined: Apr 2010
Posts: 265
V
Vinous_Beret Offline
Member
Vinous_Beret  Offline
Member
V

Joined: Apr 2010
Posts: 265
Originally Posted By: Rei_Ayanami
Helping a WAREZ USER???


you have sreious problems man, grin
you have 'WAREZ USER'S' Phobia grin

LOL..

Re: Animate Character [Re: Pappenheimer] #326139
05/30/10 16:59
05/30/10 16:59
Joined: May 2010
Posts: 63
J
JohnnyIsDutch Offline OP
Junior Member
JohnnyIsDutch  Offline OP
Junior Member
J

Joined: May 2010
Posts: 63
Originally Posted By: Pappenheimer
You have to fill in a variable that counts up.

function play_animation()
{
var counter;
var anim_speed = 10;// fill in here the wished animation apeed
while(1)
{
ent_animate(me,"walk", counter ,ANM_CYCLE);thax, but wath is warez user

counter += anim_speed * timestep;
counter %= 100;// if the counter is higher than 100 it proceeds at zero
wait(1);
}
}

But, there is an example in the manual, too.
thanx

Last edited by JohnnyIsDutch; 05/30/10 17:44.
Re: Animate Character [Re: JohnnyIsDutch] #326146
05/30/10 18:18
05/30/10 18:18
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Make the workshop, above all the workshop 21, there is explain all this stuff about animating models.
Beginners "must" do this workshop.

Last edited by Widi; 05/30/10 18:19.
Re: Animate Character [Re: Widi] #326148
05/30/10 18:20
05/30/10 18:20
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Why do you help such a user widi?? Haven't you seen his other posts?

Re: Animate Character [Re: Rei_Ayanami] #326151
05/30/10 18:24
05/30/10 18:24
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@rey: Yes, he write in another post that he use the trial version now...


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1