devon7600 Posted November 1, 2015 Share Posted November 1, 2015 Hi i've been trying to figure out a perk but it's difficult. How would i let my character add 1 free ally (pig,bunny man, catcoon) just by standing near them. Link to comment https://forums.kleientertainment.com/forums/topic/58779-need-help-with-a-perk/ Share on other sites More sharing options...
devon7600 Posted November 1, 2015 Author Share Posted November 1, 2015 Also i kinda want it to be only 1 every day Link to comment https://forums.kleientertainment.com/forums/topic/58779-need-help-with-a-perk/#findComment-683675 Share on other sites More sharing options...
Maris Posted November 1, 2015 Share Posted November 1, 2015 Check all prefabs around in small range every 1 sec.TheSim:FindEntities(x,y,z,radius,musttags, canttags, mustoneoftags)For example: TheSim:FindEntities(x,y,z,5,nli, {"player"}, {"pig","animal"}) Link to comment https://forums.kleientertainment.com/forums/topic/58779-need-help-with-a-perk/#findComment-683693 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