you are completely right! I'm so glad to say that I was doing some stupid stuff with the code I didn't realize.

By any chance do you know the proper way to pass a structs pointer to a function and use it in the function correctly? That's what the crash was. I'm still kind of new to structs I guess.

Code:

typedef struct sZoneMove
{
var zMove;
var zRotate;
} sZoneMove;

sZoneMove sZone1Move1;
sZoneMove* pZoneMove;

function sendVarZone(sZoneMove* test, var zoneNum)
{
send_var_to(tempEnt,test);
}

function someOtherFunction{
pZoneStruct = my.zoneStruct;
pZoneMove = &sZone1Move1;
sendVarZone(pZoneMove.zMove,my.zone);}



Isn't that right?


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.