Okachov Posted September 21, 2017 Share Posted September 21, 2017 new to DST i was working on a character but my scripting knowledge is very limited, could someone help me with these perks? 1- being near an ally lowers my base speed 2-slow sanity regen 3-prey and monsters are neutral and do not attack me until i attack them (with exclusion of bosses if possible) Link to comment https://forums.kleientertainment.com/forums/topic/82215-dst-scripting-help/ Share on other sites More sharing options...
ptr Posted September 21, 2017 Share Posted September 21, 2017 3 hours ago, Okachov said: 1- being near an ally lowers my base speed there is a component called PlayerProx, where you can set inst.components.locomotor.runspeed 3 hours ago, Okachov said: 2-slow sanity regen there is also a component called aura, where you can call inst.components.sanity:DoDelta() The third will be somewhat more tricky, you can make a comparison between neutral prefabs and hostile ones. You can make your self invisible with simply adding a "debugnoattack" tag, but I believe that is not what you want. Link to comment https://forums.kleientertainment.com/forums/topic/82215-dst-scripting-help/#findComment-956625 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now