Jump to content

Moving a fakeplayer vs npc via icarus

Go to solution Solved by Mandalorian,

Recommended Posts

So I have no problem moving a npc around but when it comes to moving a fakeplayer around it either doesn't move or it disappears I cannot understand why there is a difference. Any one know if there are different rules for a fakeplayer npc. reading redasaurus singleplayer tutorial and following it exactly gets no result. I have tried a few different commands like task and dowait and i have looked at sample maps and scripts from singleplayer to no avail. The player in the cinematic just stands there being lazy. 

Link to comment
//Generated by BehavEd



affect ( "fakeplayer", FLUSH )



task ( "walk" )


set ( /*@SET_TYPES*/ "SET_NAVGOAL", "nav_player1" );



set ( /*@SET_TYPES*/ "SET_WEAPON", /*@@weaponx_NAMES*/ "WP_DISRUPTOR" );


set ( /*@SET_TYPES*/ "SET_WALKING", /*@BOOL_TYPES*/ "true" );


camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "startcam", ANGLES)$, < 0.000 0.000 0.000 >, 0 );

camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "startcam", ORIGIN)$, 0 );

wait ( 2000.000 );

camera ( /*@CAMERA_COMMANDS*/ ZOOM, 40.000, 4000 );

wait ( 2000.000 );

dowait ( "walk" );



wait ( 8000.000 );

remove ( "fakeplayer" );


run ( "city/start" );



mind you that I have changed this script a few times to get it to work differently.  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...