Page 1 of 1

Most Liken command (for me)

PostPosted: Thu Feb 19, 09 1:58 pm
by ronanski
Just giving a fast access of my favorite command (i've been looking for this command for 2 weeks P.S. thnx for the Admin Commands so i finally figured it out)
Setting the NPC to do the command you want: set (NPC name) orders (command)
Making the NPC invincible or not: set (NPC name) binvincible true (or false to be not invincible)


P.S. pls dont delete this post. i bookmarked this page for me to remember this hardworking researching thing to end.

PostPosted: Thu Feb 19, 09 2:21 pm
by Dae
ronanski wrote:P.S. pls dont delete this post. i bookmarked this page for me to remember this hardworking researching thing to end.

Alright, I will only move it to Tech issues.

PostPosted: Fri Feb 20, 09 10:21 am
by ronanski
i have a prob. What command is used to make the NPC sit? i tried sit and sitting none happened? can someone help?
(P.S. is there a command used to make NPCs have weps?)

PostPosted: Fri Feb 20, 09 10:28 am
by clyzm
orders sitting

kill the NPC if there are any

then respawn him and make sure the NPC is close to a chair

some meshes don't have sitting function

PostPosted: Fri Feb 20, 09 10:53 am
by Dae
ronanski wrote:(P.S. is there a command used to make NPCs have weps?)

In SP *I suppose* you can give them the weapons by editing their inventory through EditActor Class=NPC command (e.g. EditActor Class=UNATCOTroop)

PostPosted: Fri Feb 20, 09 11:39 am
by ronanski
cataclyzm wrote:orders sitting

kill the NPC if there are any

then respawn him and make sure the NPC is close to a chair

some meshes don't have sitting function

in a mission it won't work? cause it's not working (im in the unatco base and i tried paul and unatco troops but didn't work)

PostPosted: Fri Feb 20, 09 1:20 pm
by ~DJ~
IT will work, BUT you have to kill them with KillAll command, and then summon them again. To restart there settings.

PostPosted: Fri Feb 20, 09 2:33 pm
by Dae
~DJ~ wrote:IT will work, BUT you have to kill them with KillAll command, and then summon them again. To restart there settings.

I just tried in SP by myself... and failed. Didn't work for UNATCO troops on Liberty island, but worked for UNATCO troops in the hq.

The game AI seems to be more clever that we thought: the troops won't sit when terrorists are near :lol:

PostPosted: Fri Feb 20, 09 2:54 pm
by ~DJ~
Dae wrote:
~DJ~ wrote:IT will work, BUT you have to kill them with KillAll command, and then summon them again. To restart there settings.

I just tried in SP by myself... and failed. Didn't work for UNATCO troops on Liberty island, but worked for UNATCO troops in the hq.

The game AI seems to be more clever that we thought: the troops won't sit when terrorists are near :lol:


I thought Paul could sit..oh wait he can.


ATLEAST they sit, so be happy :D

PostPosted: Sat Oct 03, 09 11:18 am
by canttouchthis
whats the command to get npc's to follow you around ? I'd like to have paul helping me out on liberty island :)

and any other orders you can give npcs would be great !

PostPosted: Sat Oct 03, 09 12:28 pm
by ~DJ~
Well, it's not really orders...

It's called AttitudeToPlayer


Here are some of the following attitudes you can set..


ATTITUDE_Fear
ATTITUDE_Hate
ATTITUDE_Frenzy
ATTITUDE_Threaten
ATTITUDE_Ignore
ATTITUDE_Friendly
ATTITUDE_Follow

Out of which you can do follow.


Example:


Code: Select all
set <npc> attitudetoplayer <attitude>



Another example..

Code: Select all
set PaulDenton AttitudeToPlayer ATTITUDE_Follow


Now.. I am not that sure that it will work like that.. you might have to type that command, kill paul, and summon paul back again.. but since flags can change it that quickly.. maybe it will work.