I have use "subject_to_screen 1" on a enemy but they can still go off screen if i walk away with the player is there any way to fix this or am I doing something wrong ?
I tested this same build in a BOR mod, apparently it's working fine. Maybe some conflict with scripts?build 7533
subject_to_screen should still work. Just for kicks though, you might want to try the updated move_constraints property.subject_to_x flags don't actually exist any more. The commands are just a layer of backward compatibility that work by adjusting the current move_constraints bitfield. case CMD_MODEL_SUBJECT_TO_SCREEN:
if (GET_INT_ARG(1))
{
newchar->move_config_flags |= MOVE_CONFIG_SUBJECT_TO_SCREEN;
}
else
{
newchar->move_config_flags &= ~MOVE_CONFIG_SUBJECT_TO_SCREEN;
}
break