I'm looking at a new way of re scripting some elements of my game and i came up with the thought of:
ENTITY*object1;
ENTITY*object2;
STRING*obj_name="object1";
function blah()
{
set(obj_name,INVISIBLE);
}
but it doesn't work, the reason i wanted to do this was so i could use one short function and affect whichever entity i choose just by editing the STRING...
any ideas on this?