[Ajuda] Animar Actor
#1

PHP код:
New Actor[3];
Actor[0] = CreateActor(179316.1, -134.0999.690.0);
Actor[1] = CreateActor(179316.1, -134.0999.690.0);
Actor[2] = CreateActor(179316.1, -134.0999.690.0);
ApplyActorAnimation(Actor"DEALER""shop_pay"4.100000); Ao adicionar dб
error 035: argument type mismatch (argument 1)

Essa й a melhor forma de criar? como arrumo o argumento?
Reply
#2

PHP код:
new Actor[3]; 

for(new 
idid 3id++)
  
Actor[id] = CreateActor(179316.1, -134.0999.690.0);

ApplyActorAnimation(Actor[0], "DEALER""shop_pay"4.100000);
ApplyActorAnimation(Actor[1], "DEALER""shop_pay"4.100000);
ApplyActorAnimation(Actor[2], "DEALER""shop_pay"4.100000); 
Reply
#3

Blz Luan, mas como eu adiciono mais Actor, porque ali tem 1 actor apenas.
PS: Quero 3 actors e poder designar um anim para cada.
Reply
#4

PHP код:
New Actor[3]; 
Actor[0] = CreateActor(179316.1, -134.0999.690.0); 
Actor[1] = CreateActor(179316.1, -134.0999.690.0); 
Actor[2] = CreateActor(179316.1, -134.0999.690.0); 
for(new 
0sizeof(Actor); i++) { ApplyActorAnimation(Actor[i], "DEALER""shop_pay"4.100000); } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)