"wearing" calls the script called "wearing". You need to write "@wearing", which is the ID number of the wearing script. You should only call settimer in the wearing script if you want the script to be triggered repeatedly every 5 seconds.
script,wearing,begin
decrement (stamina,1)
decrement (watermeter,1)
decrement (foodmeter,1)
end
plotscript,timer,begin
set timer (0,5,18,@wearing)
end
I think the problem is he's hitting the script interpreter's limit for circular calls? As for his statement I think he means he wants a script where every 5 seconds you get hungrier, thirstier/whatever.
Gizmog wrote:I think the problem is he's hitting the script interpreter's limit for circular calls? As for his statement I think he means he wants a script where every 5 seconds you get hungrier, thirstier/whatever.
Well, giz, you got the idea. [s]Is there any example script for this somewhere?[/s]
I see that TMC has posted a example, let me test that and will report in a minute.
Reporting
[s]Time Passes but the values stays the same, it just decremented once[/s]
Fixed that
finally understand what to do. Thanks dudes!
Last edited by Matokage on Wed Feb 25, 2015 3:01 pm, edited 3 times in total.