Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,528 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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