Jump to content

Caged animals won't stay caged


antstubell

Recommended Posts

Hi all.

Built myself a nice room with two large cages and cage doors, popped 2 wolves in each one, doors are locked and are opened by a trigger when player enters the room. Trigger and cage doors work fine but the wolves I put inside them spawn some inside, mostly outside the cage. How can I stop this?

Thanks.

Link to comment
Share on other sites

The wolves might be colliding with the bottom of the cage when the cell loads. Place the wolf in the cage a little higher than the floor of the cage so it drops a little when loaded.
Link to comment
Share on other sites

You might need to put a marker in the cage and then spawn them on the marker. See here for some suggestions.

After some "fiddling" I found the only way to keep them in place-ish was to use a Package, a UseIdleMarker package to be precise. This meant that I had to make duplicates of the wolf so each could use its own marker, wolf01, wolf02, etc and then choose specific reference for each marker. Two wolves and two markers in each cage with a schedule of 0hr, 0min for 24hrs. This keeps them in place inside the cage but there's a reason I said place-ish, sometimes they spawn 2 in each cage, sometimes 3 in one and 1 in another and finally, you guessed it, they all spawn in the same cage. 4 wolves in 1 cage with 2 markers??? DOn't make sense but they can't get out until doors are triggered. I also did raise then a little off the ground just to be sure they don't spawn weird.

 

Scratch: They changed their minds and now spawn outside the cage.

Edited by antstubell
Link to comment
Share on other sites

Look at vanilla dungeons with caged wolves, for example Cragslane Cavern. Wolves in that place stay caged.

Only difference is they are leveled pitwolves. They have no script, no AIpackage and use the same idlemarker that I am using. Only difference is they use persistlocation. I can't use that as mod locations don't appear in the list of locations.

Link to comment
Share on other sites

I haven't played around with Location forms, but couldn't you create a new "Location" for your mod? Then I would expect that it would appear in the persistlocation list? Edited by steve40
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...