Jump to content

Home

a sitting npc?


darthplite

Recommended Posts

You'll have to give them a spawnscript. Here's one that I've already written.

 

rem ( "NPC Spawnscript for Sitting NPC" );

set ( /*@SET_TYPES*/ "SET_WEAPON", /*@WEAPON_NAMES*/ "WP_NONE" );

set ( /*@SET_TYPES*/ "SET_PLAYER_TEAM", /*@TEAM_NAMES*/ "TEAM_NEUTRAL" );

set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_CINEMATIC" );

set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_SIT1" );

set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );

 

Basically, take what I've written there and paste it into a TXT file. Save it in your scripts directory (e.g. scripts/mylevel/npcspawn_sitter.txt). Then open the file with BehavEd and click "Compile". Now in Radiant, click on the NPC entity that you want seated. Make sure the "start in solid" box is check. Now add the key "spawnscript" with the string pointing towards your spawnscript that you saved (e.g. mylevel/npcspawn_sitter.ibi),

Link to comment
Share on other sites

But remember that those dudes are after that INSIDE those chairs, and they don't like to let go of them. That is, they may not be able to walk away, but are stuck in place. (Even if they don't seem to be inside their chairs in the game.)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...