Jump to content

Home

NPC controll script


[ION]Levi

Recommended Posts

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...

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...