beyond allowed acces area

Non-platform specific questions.

beyond allowed acces area

Postby Agusstosus15 » Sat Oct 22, 2011 9:50 pm

int noble;

Actor*taliakp;// kp karty przygod w talii
taliakp=getAllActorsInCollision("talia_kp.0",&noble);

o[4]=0; // potwierdzenie wylosowania

if (noble>0) // jezeli jest jakas karta w talii n liczba kart w talii

{

while (o[4]==0)

{

int la;

la=round (rand(noble));


if (la<1){la=1;};



if (taliakp[la].sta==0)

{

PlayMusic2("data/POCIGN~1.OGG", 1.000000, 1, HIGH_PRIORITY_MUSIC);

MoveTo(taliakp[la].name, 0.000000, 0.000000, 100.000000, "f_wg_lk", "");

taliakp[la].sta=1;


o[4]=1;

}
}
}

witch cause error beyond allowed area in if taliakp[la]... line how that possible it's after two clicks and i got 3 or more colliding actors
Agusstosus15
 
Posts: 59
Joined: Sun Oct 09, 2011 7:59 pm
Score: 0 Give a positive score

Re: beyond allowed acces area

Postby Agusstosus15 » Sat Oct 22, 2011 11:06 pm

ok i get it , I resolved problem :)
Agusstosus15
 
Posts: 59
Joined: Sun Oct 09, 2011 7:59 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest