Mass faction change?

Moderator: Event DM

Post Reply
User avatar
The Sveg
Sage
Posts: 1611
Joined: Fri Jan 24, 2003 7:42 pm
Location: Thessaloniki, Greece (GMT+2)
Contact:

Mass faction change?

Post by The Sveg » Sun Sep 07, 2003 12:16 pm

Is it possible in any way?

In more details, I need to have a whole group of spawns change their faction.

For example, after spawning a few hostile creatures, I want them turned to defender faction.

I have tried selecting all of them and then using the DM faction wand, but it only changes the faction to the one pointed by the mouse.

Is there some smarter way to do this, a console command perhaps, anything?
"When is this project to start?

I, uh, accidentally did not see that it had not started yet, so tonight i killed all the elysian merchants on the list, and most of the wilderness ones."


Warning: Lawful Evil DM
Image
User avatar
Alexandru Stanicu
Legacy DM
Legacy DM
Posts: 14074
Joined: Sun Oct 20, 2002 10:59 pm
Timezone: CST
DM Avatar: The Hammer
Location: Texas

Post by Alexandru Stanicu » Sun Sep 07, 2003 1:01 pm

I havent found it yet...


-Alex
I ain't as good as I once was, But I'm as good once as I ever was...


:devil: 4evar!
User avatar
Nighthawk4
Assist DM
Assist DM
Posts: 25898
Joined: Fri Feb 07, 2003 8:32 pm
Timezone: GMT
DM Avatar: DruEl
Location: The Home of the Bard of Avon
Contact:

Post by Nighthawk4 » Sun Sep 07, 2003 1:23 pm

Could it be scripted, maybe by location?

Or perhaps you could give each of them a special item and then check for that item when entering an Area (or even on Heartbeat).

I don't know enough about scripting to tell if that is possible.
Life is never as bad as you think it is, although that doesn't help at the time.
Orleron wrote:I think it's a fun idea if you can idiot-proof it. Problem is God always builds a better idiot. :P
User avatar
Deider
Demigod of Posts
Posts: 13259
Joined: Sun May 11, 2003 12:33 pm
Timezone: GMT -8
Location: California

Post by Deider » Sun Sep 07, 2003 1:30 pm

I think if you select them all, then enter this into the command line:

##SetFaction defender

and select one, that it will work. Never tested it, though.

I find that SetFaction is a bit simpler than the faction wand, IMHO.

EDIT: Doh! Got this wrong. It should be ##dm_setfaction defender.
Post Reply