Jump to content

Recommended Posts

Hi everyone,

I wanna use the CK to trap some ghouls in a cage. And they are supposed to stay in there. Problem is, as soon as I move to a greater distance they walk out through the cage bars as if they don't exist. So I want to restrict their movement to the small area of the cage.

Is there any movement restriction marker or something similar? Wasn't able to find something in the CK and on the topic so far.

Help much appreciated

P

 

 

Link to comment
Share on other sites

I dont have much experience with how ghouls act, but maybe you should try to make collision boxes around the cage, if it doesnt work (90% that it wont work, as cages have their own collision) then you should look into how monsters in wasteland workshop DLC are held into cages.
Link to comment
Share on other sites

I haven't used it myself, but you could look into something like disabling the AI using the function EnableAI() when the distance between you and the captive is greater than a set amount using the OnDistanceGreaterThan() event. You'd obviously also have to enable the AI when the distance between you and the captive is less than a set amount using the OnDistanceLessThan() event.

 

Edit: You could alternatively (or additionally) move the captive back into the cage (there are several move function variants) when the distance between you and the captive is less than a set amount using the OnDistanceLessThan() event.

Edited by KernalsEgg
Link to comment
Share on other sites

I haven't tried Wasteland workshop yet. Will check it out.

The scripting workaround sounds promising. I acually only have to disable their aggro once I'm 6-7 meters away from them...

Haven't scripted myself yet. But will figure out somehow...thx

Well as a starting point you could have a look at some tutorial here.

A list of all script references can similarly be found here.

I myself learnt through a combination of Arron Dominion's videos, Googling, the CK wiki (which I've linked you to), asking for help on the Nexus forums, and background knowledge from other languages.

 

Hopefully that helps.

 

Edit: You could potentially find more information on certain functions, events, etc. by looking at the Skyrim equivalent wiki, which you can redirect yourself to here.

Edited by KernalsEgg
Link to comment
Share on other sites

  • Recently Browsing   0 members

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