hi,

iam going to programm a dice script similar to "throwing something" in black an white, but ive a problem at the beginning.

the dice modle is placed in WED and i attach this action to it:

action dice
{
phent_settype(my, ph_rigid, ph_box); // Registiert den Würfel für die PhysicEngine und deklariert ihn als Box
phent_setmass(my, 0.003, ph_box); // Ich bin etwa 3 Gramm schwer
phent_setfriction(my, 50); // Reibungsfaktor
phent_setdamping(my,0, 50); // Dämpfungsfaktor, z.B. Luftreibung
temp.x = 0;
temp.y = 0;
temp.z = -380; // Gravitationskonstante, -380 = 9.81 m/s2
ph_SetGravity(temp); // Setze Schwerkraft
dice1_pointer = me; // Zeiger für spätere Scripts
}

the values are maybe mistaken but i cant testing. At engine start i got this error for every line which start witch "phent":
Error(0): Bad or missing parameter unknown function

it cant imagine what that error is going to tell, so iam here.
iam working witch a6.31 com

thx for help


A7 Commercial.