How flag creatures so they won't wander?
ForSerious
Member Posts: 467
I'm trying to get a queen spider to: spawn, instantly stone skin itself and not do random wandering.
It looks like such things should be possible with the default scripts in place.
I've tried setting a few variable on the creature but it keep wandering and not getting instant stone skin.
It looks like such things should be possible with the default scripts in place.
I've tried setting a few variable on the creature but it keep wandering and not getting instant stone skin.
0
Comments
Ensure you don't have Tony K AI or similar mods installed.
The OnSpawn script could include the following:
The first line is normally redundant, as it is the default.
The second line should cast Stoneskin if you give the creature that spell in the toolkit.
I was able to get the fast buff to work using what you suggested.
I want to challenge that statement. Creatures have always wander by default if spawned from an encounter. At least, in every module I've made.
Calling:
SetSpawnInCondition(NW_FLAG_AMBIENT_ANIMATIONS, FALSE);
in OnSpawn does not stop the creature from wandering.
Sorry, I am exclusively using encounters to spawn creatures.
You could just dummy out that statement before saving the script with a new name, for that creature only.