Blockland Forums > Suggestions & Requests
taking event requests
<< < (2/15) > >>
Pliny:


--- Code: (OnBotDetect) ---Type: Input
Name: onbotDetect>[PLAYER/HOLEBOT/VEHICLE/TEAM]>output
Description:
Triggered when a bot becomes aware of an entity. Targets are self(brick) or bot.
e.g.
onbotDetect>[TEAM][Mercenary][POOPLORDS]>Bot>kill
or
onbotDetect>[PLAYER]>self>setemitter>Fog B
or
onbotDetect>[PLAYER]>holebot>setWeapon>Sword

--- End code ---

I think I may have formatted this wrong. Sorry.
Gen. Hothauser:

--- Code: ---Type: Output
Name: Minigame>VCE_ModVariableAll
Description: Modifies a specified variable on all players in the minigame.

Here's how I'd like the parameters to be (but not necessarily how I feel they should be) formatted:

[VCE_ModVariableAll] [Client/Player] [Variable] [Operation] [Amount]

--- End code ---
MARBLE MAN:

--- Quote from: SWAT One on October 27, 2013, 12:11:04 PM ---
--- End quote ---
1.1 exists as "Prompt events" or something
2 needs a client mod and I'm not up for that right now..
3 also needs a client mod, and I'm not up for that right now...


--- Quote from: NalNalas on October 27, 2013, 12:13:27 PM ---
--- End quote ---
It was failed before, I'm not making it...


--- Quote from: Pliny on October 27, 2013, 12:42:08 PM ---
--- End quote ---
TEAM isn't a valid classname

registerInputEvent("fxDTSBrick", "onBotEngaged", "Self fxDTSBrick" TAB "Bot Bot" TAB "MiniGame MiniGame");
package botDetect
{
   function Armor::onTargetEngaged( %this, %obj )
   {
      Parent::onTargetEngaged( %this, %obj );
      if(!isObject(%obj.spawnBrick))
         return;
      %client = %obj.spawnBrick.getGroup().client;
      $InputTarget_["Self"]   = %obj.spawnBrick;
      $InputTarget_["Bot"]   = %obj;
      $InputTarget_["MiniGame"] = getMiniGameFromObject(%obj);
      %obj.processInputEvent("onBotEngaged", %client);
   }
};
activatepackage(botDetect);

this will call the event when a something comes into the bot's view distance


--- Quote from: Gen. Hothauser on October 27, 2013, 01:58:36 PM ---
--- End quote ---
vce is a force not to be reckoned with
It's written weirdly and it's creator is not content with it.
sorry
Ducky duck:
Type: Input
Name: OnPlayerUseCaps
Description:
Does something if a player types in all caps.

Type: Output
Name: Kick
Description:
Kicks the player

Type: Output
Name: Ban - 1/1/1/Forever
                 M D Y    
Description:
Bans the player for 0-100 months 0-100 days and 0-100 years or Forever


All having an RTB pref. for making these None/Admin/SuperAdmin/Host only
TristanLuigi:
Type: Input
Name: onMinigameActivate
Description: Called when a player clicks another player, and has two special outputs:
Activator
ActivatorClient
I think they're kinda obvious.
Navigation
Message Index
Next page
Previous page

Go to full version