something like:
[cubescript]
checkinit mapstartalways [
cntostalk = -1
]
checkinit onSpawn [
thecn = $arg1
if (!= $thecn (player1 cn)) [
// someone other than you spawned
if (isclient $cntostalk) [
setfollowplayer $cntostalk
]
]
][/cubescript]
When you wanna stalk someone everytime they spawn just do:
/cntostalk = CLIENT_NUMBER_OF_PLAYER_HERE
P.S. I didn't test it and it can be made way better. I'll work on that but for now I'm lazy and you'll get the idea. :p
[cubescript]
checkinit mapstartalways [
cntostalk = -1
]
checkinit onSpawn [
thecn = $arg1
if (!= $thecn (player1 cn)) [
// someone other than you spawned
if (isclient $cntostalk) [
setfollowplayer $cntostalk
]
]
][/cubescript]
When you wanna stalk someone everytime they spawn just do:
/cntostalk = CLIENT_NUMBER_OF_PLAYER_HERE
P.S. I didn't test it and it can be made way better. I'll work on that but for now I'm lazy and you'll get the idea. :p