|
|
why does this not work
#148075
08/15/07 16:52
08/15/07 16:52
|
Joined: Oct 2002
Posts: 8,939 planet.earth
ello
OP
Senior Expert
|
OP
Senior Expert
Joined: Oct 2002
Posts: 8,939
planet.earth
|
sorry, but i didnt know how to ask a proper question Code:
VECTOR tempVec; var i=0, j=0; for (i=0;i<8;i++) { for (j=0;j<8;j++) { tempVec.x = 200*sin(360/8*j); tempVec.y = 200*cos(360/8*j); tempVec.z = 100*i + 48; tempEnt = ent_create ("kiste1.mdl",tempVec,kiste); tempEnt.skill1 = random(360); wait(1); } }
even if i put another wait(1); between ent_create and the following line it doe not work. how else can i pass variables to a created entity?
|
|
|
|