STUPID CITIZENS! Created 18 years ago2005-06-25 07:21:32 UTC by Archie Archie

Created 18 years ago2005-06-25 07:21:32 UTC by Archie Archie

Posted 18 years ago2005-06-25 07:21:32 UTC Post #116975
:( :( :(
All i want is for him to sit! but will he?! NO! ARGH!!!

Basically, i have a chair. I have an NPC_citzen.

i want the citizen to be sitting, and undisturbable.
Why is this so hard?! :( :( :(

Any help?
Archie ArchieGoodbye Moonmen
Posted 18 years ago2005-06-25 07:23:40 UTC Post #116980
scripted_sequence?
Posted 18 years ago2005-06-25 07:52:07 UTC Post #117003
Uhh yeah Hunter they don't sit on their own....
Habboi HabboiSticky White Love Glue
Posted 18 years ago2005-06-25 13:20:18 UTC Post #117072
so.. how do i go about scripting?
Archie ArchieGoodbye Moonmen
Posted 18 years ago2005-06-25 14:22:45 UTC Post #117083
There's actually an interesting way to do it with a logic_collision_pair, ai_goal_actbusy, your physics item chair and table, and an info_node_hint.

For this example, name the table "table" and the chair "chair". The NPC will be named "billy".

For logic_collision_pair 1, attachment 1 is "table" and 2 is "billy". Start with Collisions Disabled, "Yes".

For logic_collision_pair 2, attachment 1 is "chair" and 2 is "billy". Start with Collisions Disabled, "Yes".

The info_node_hint should be of the World: Act Busy type and the sequence to play in the "Hint Activity" box.

The ai_goal_actbusy should affect "billy" (Search by entity name, not classname).

All you need to do now, is use a trigger or logic_auto to give an OnTrigger or OnMapSpawn with a ForceNPCtoActBusy input.

You're done!
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 18 years ago2005-06-25 15:15:08 UTC Post #117096
ok. that worked perfectly! thanks v much, but i also have a map where u start in a big Apache (think opp4 intro) and i want a bunch of citzens to be sitting on a bench_type thing that i dont want to be a func_phsbox... do i make it a func_wall?
Archie ArchieGoodbye Moonmen
Posted 18 years ago2005-06-25 18:18:56 UTC Post #117135
func_brush is fine, func_wall is actually the same but there for HL1 support.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 18 years ago2005-06-26 11:44:35 UTC Post #117243
Uhh yeah Hunter they don't sit on their own....
lol :lol:
You must be logged in to post a response.