function Create()
local Prisoners = this.GetNearbyObjects("Prisoner", 10000);
for Prisoner, _ in next, Prisoners do
Prisoner.StatusEffects.ProgressEffect.claming = 10000;
Prisoner.StatusEffects.claming = 10000;
Prisoner.StatusEffects.claming = 10000;
end
this.Delete();
end
i get this http://steamcommunity.com/sharedfiles/f ... =539843353
what did i do wrong.
Moderator: NBJeff
-
- level2
- Posts: 105
- Joined: Fri Aug 20, 2010 3:42 am
Re: what did i do wrong.
claming
*as in gathering of tasty clams!
*as in gathering of tasty clams!
Re: what did i do wrong.
Also calming is only set 1 way;
someconvict.StatusEffects.calming = 100 (or try closer to a 1000; 10000 is a bit much for this one I think!)
someconvict.StatusEffects.calming = 100 (or try closer to a 1000; 10000 is a bit much for this one I think!)
-
- level2
- Posts: 105
- Joined: Fri Aug 20, 2010 3:42 am
Re: what did i do wrong.
trying to calm the whole prison
- aubergine18
- level2
- Posts: 231
- Joined: Sun Jul 05, 2015 3:24 pm
Re: what did i do wrong.
You'd probably want to set all their needs to 0 as well.
Basically, you want the *exact opposite* of this script: https://github.com/Dubpubber/The-Creati ... lAngry.lua
Basically, you want the *exact opposite* of this script: https://github.com/Dubpubber/The-Creati ... lAngry.lua
Who is online
Users browsing this forum: No registered users and 2 guests