Blockland Forums > Suggestions & Requests

Better hunger mod

Pages: << < (2/3) > >>

tyler0:

Relay it maybe?


--- Code: ---X 33ms onActivate Self fireRelay
X 0ms onRelay Self VCE_ifValue //constantrue == //true
X 0ms onVariableTrue // remove hunger here
X 330ms onRelay Self fireRelay
--- End code ---


Gen. Hothauser:


--- Quote from: tyler0 on July 12, 2012, 05:16:18 PM ---Relay it maybe?


--- Code: ---X 33ms onActivate Self fireRelay
X 0ms onRelay Self VCE_ifValue //constantrue == //true
X 0ms onVariableTrue // remove hunger here
X 330ms onRelay Self fireRelay
--- End code ---

--- End quote ---

I think it would have to be dosub events, because relays don't include client/player, only self an namedbrick.

Also, wouldn't this just cause the player to immediately lose all hunger, or gain hunger? :p. We always talk about losing hunger because of the way our hunger mods are set up, even though it doesn't make sense.  Anyway, just increase delay, change to onsub/dosub and it'll work.

Blockoverlord:

Actually, i'm having a custom mod made, which includes a good hunger system.

K3k0m@n:


--- Quote from: K3k0m@n on July 12, 2012, 12:12:13 PM ---You could use events and LeetZeros food pack (i think its his)
Make the events make every player lose HP once in a while and use his food pack to get HP.

--- End quote ---
and in the spawnroom (if you have one) if theres a door to get out, you could add the events to that door.

tyler0:


--- Quote from: Gen. Hothauser on July 13, 2012, 12:33:24 AM ---I think it would have to be dosub events, because relays don't include client/player, only self an namedbrick.

--- End quote ---

Lol i found a trick to this. Let me make it.

Pages: << < (2/3) > >>

Go to full version