darthplite Posted March 8, 2003 Share Posted March 8, 2003 I know its possible i just don't know how to do it. I've seen some rodians in nar shadarr sitting down so if anyone knows how to make an npc sit please let me know.thanx. Link to comment Share on other sites More sharing options...
AKPiggott Posted March 8, 2003 Share Posted March 8, 2003 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 More sharing options...
lassev Posted March 10, 2003 Share Posted March 10, 2003 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 More sharing options...
darthplite Posted March 15, 2003 Author Share Posted March 15, 2003 Sorry guys i forgot about this thread...Anyway thanx for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.