first off all your cpx etc.. commands have to be real numbers so cpx
becomes cpx#
try this:
Rem Project: ZombieAI
Rem Created: Wednesday, March 30, 2011
Rem ***** Main Source File *****
`Simple Zombie AI by Luke Connor (Commico Inc.)
`Please credit if used :)
SYNC ON
SYNC RATE 30
zom = 6
cam = 0
MAKE OBJECT cube zom,1
do
CONTROL CAMERA USING ARROWKEYS 0,1,1
cpz#=camera position z(cam)
cpx#=camera position x(cam)
cpy#=CAMERA POSITION y(cam)
zpx#=object position x(zom)
zpy#=object position y(zom)
zpz#=object position z(zom)
POINT OBJECT zom,cpx#,cpy#,cpz#
MOVE OBJECT zom,0.3
sync
LOOP

My software never has bugs, it just develops random features.
C4: silly putty for men.