I am creating a multiplayer level, and I want to insert an npc controll script. like in JK2 somewhere in the doomgiver if I am not wrong. the level wich you can controll the mouse-droid with the console. I heard it was impossible to open the original bsp files so I ask here if anyone nows how to make such a script like I said above...
That's not possible in MP...
ok, but how does it work in single player
set_viewentity("NPC_targetname")
thx:D I'll check it directly
I'm kind'a n00b, how do I use it?
You give the NPC you want to control an NPC_targetname key (and a value of your own choosing, xxxx) in Radiant.
You write a script containing:
affect ( "player", /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_VIEWENTITY", "xxxx" );
}
Then you place a target_scriptrunner in the map, point it to the script, target a trigger to the scriptrunner... And voila!
Needless to say, chances of getting this to work in MP might be slim. But of course I'm not MP mapper, so I wouldn't know...