Blockland Forums > Suggestions & Requests
Taking Event add-on requests here
Isaac Fox:
--- Quote from: Counter98 on May 02, 2012, 03:59:22 PM ---OnPlayerTouched
called only once, when a player touches a brick
--- End quote ---
All my support on this one.
300spartan:
lug please :c
botmounttobject
Greek2me:
--- Quote from: Lugnut1206 on May 02, 2012, 04:13:19 PM ---Is there an onTrigger thing called when you lift off of the mouse?
--- End quote ---
Yes.
--- Code: ---function Armor::onTrigger(%this,%player,%slot,%state)
{
parent::onTrigger(%this,%player,%slot,%state);
if(%state)
{
//the button was pressed
}
else
{
//the button was released
}
}
--- End code ---
This would be package obviously.
MonkeyFunkyMonkey:
indivual team sounds sounds that play only to a team
Awdax:
--- Quote from: Lugnut1206 on May 02, 2012, 04:13:19 PM ---these are great requests that I wish I could work on right now and release a forgetload of them.
Unfortunately you're going to have to wait until approximately tonight.I'm not sure how I would do these btw.
Is there an onTrigger thing called when you lift off of the mouse?
--- End quote ---
For the onActivateHold or whatever, Rot's zombie mod uses a similar function for reviving incapacitated players. You could probably find it there and code it into an event input.