Quote:
If you replace this in your code, you have the definitions in WED under
object properties -> behaviour:
Code:
//entity* spawn_point;
define _spawn_X,SKILL1; // X Pos of spawnpoint
define _spawn_Y,SKILL2; // Y Pos of spawnpoint
define _spawn_Z,SKILL3; // Z Pos of spawnpoint
// uses: _spawn_X, _spawn_Y, _spawn_Z
ACTION S_point // give this to the spawn point
{
spawnpos[0] = my._spawn_X; // copy a dummy model to where you would like
spawnpos[1] = my._spawn_Y; // enemy to spawn
spawnpos[2] = my._spawn_Z; // copy its positon to these skill in WED
wait(1);
}
Greatings from Berlin
Michael
Yes I had that in my updated code but forgot to post here...
good catch.. Thanks,
*** Teutonic Darkness ***