//(BHVD)
rem ( "Enable cutscene mode, move the camera to the position/orientation of the ref_tag with targetname camera_ref_tag_name" );
camera ( /*@CAMERA_COMMANDS*/ ENABLE );
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "camera_ref_tag_name", ORIGIN)$, 0 );
camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "camera_ref_tag_name", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
rem ( "Tell the NPC with npc_targetname npc_name to go to the waypoint_navgoal with targetname navgoal_name" );
affect ( "npc_name", /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@ SET_TYPES*/ "SET_NAVGOAL", "navgoal_name" ); // Without the space after the @ - but the name-mention-highlighting is overly aggresive here.
rem ( "Or, to pause script execution until he has arrived:" );
task ( "unique_task_name" )
{
set ( /*@ SET_TYPES*/ "SET_NAVGOAL", "navgoal_name" ); // same
}
dowait ( "unique_task_name" );
print ( "!npc_name has arrived at navgoal_name!" );
}