Original Post
Hi
I have the following
typedef struct
{
float posX;
float posY;
} _2dPoint;
typedef struct
{
_2dPoint pos;
float somethingelse;
float anotherThing;
} _wayPoint;
extern _wayPoint *waypoints;
waypoints = malloc(enough space to hold all the data)
Q: How do I pass the waypoints pointer to a script, so that within the script I can access:
waypoints.pos.posX
Thanks very much.