question on clone party

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Ryeath_Greystalk
Posts: 366
Joined: Tue Jan 15, 2013 3:26 am
Location: Oregon

question on clone party

Post by Ryeath_Greystalk »

I want to create an area where I can monitor the party facing direction as they walk through an area.

I'm guessing the best way is to clone party.

The question I have is if I only want it to be in effect in one room and I use an onTurn hook then it will test it everytime the party moves anywhere in the dungeon?
Now I figure I can use a counter so it only goes through the entire script in that room, but it still needs to check the counter everytime, right? Will that kill performance at all?

Thanks again.
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: question on clone party

Post by msyblade »

Nope, green light. reference the counter in the hook, return false if the counter has not been tripped. You can also freeze the party in place by doing it with an onMove hook and counter to have it return false. I use it, as well as mahric (who designed it initially), and suffer no performance effect.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Ryeath_Greystalk
Posts: 366
Joined: Tue Jan 15, 2013 3:26 am
Location: Oregon

Re: question on clone party

Post by Ryeath_Greystalk »

Thanks msyblade.

I will give it a shot. Does the clone party effect the default party in the editor also?
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: question on clone party

Post by msyblade »

I believe it does. I don't recall needing to pack my dat to test it.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Post Reply