I was browsing the con Wiki and had a thought pop into my head. (amazing )
Example:
findnearactor PIGCOP 2048 TEMP
ifvarn TEMP -1
{
getactor[TEMP].x MX
getactor[TEMP].y MY
getactor[THISACTOR].x x
getactor[THISACTOR].y y
subvarvar MX x
subvarvar MY y
getangle ANGVAR MX MY
setactor[THISACTOR].ang ANGVAR
}
Would it be feasible to somehow add the body of that code to eduke32 itself so that all the coder has to enter inside the actor code is "findnearactor PIGCOP 2048" ? There may be many more examples but I haven't thought this thru very far.
