Superfighters Deluxe

Superfighters Deluxe

Not enough ratings
Scripted Triggers
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
144.573 KB
10 Jan, 2023 @ 1:55pm
5 Oct, 2024 @ 1:44pm
28 Change Notes ( view )

Subscribe to download
Scripted Triggers

Description
New triggers made with scripts that do basic things only capable by scripts.

How to use:
  1. Paste the script inside your map
  2. Put into the Script Method of your trigger "ScriptedTriggers"
  3. Fill in the Custom ID of your trigger with the command and its arguments. See the map for commands and examples

Trigger list:
Trigger
Full command
Action
SetWeather
SetWeather(WeatherType)
Changes the weather
SpawnEffect
SpawnEffect(EffectName,?Argument)
Spawns an effect in the map
SetColor
SetColor(Class,Color)
Changes the color of an object
ExecuteCommand
ExecuteCommand(Command)
Executes a chat command
SetPlayerTeam
SetPlayerTeam(Player,PlayerTeam)
Changes the current team of a player
SetPlayerModifier
SetPlayerModifier(Player)
Changes the current modifier of a player
SetPlayerProfile
SetPlayerProfile(Player)
Changes the current profile of a player
SpawnProjectile
SpawnProjectile(ProjectileItem)
Spawns a projectile in the map
GiveWeapon
GiveWeapon(Player,WeaponItem)
Gives a weapon to a player
RemoveWeapon
RemoveWeapon(Player,WeaponType)
Removes a weapon from a player
SetHealth
SetHealth(Health)
Changes the health of an object or player
ToggleNameBars
ToggleNameBars(Player,BarType)
Toggles the status bar or name tag from a player
OnHotkey
OnHotkey(Player,VirtualKey)
Triggers a trigger when a player is pressing or is not pressing a key
Revive
Revive(Player,?Health)
Revives a player
SaveData
SaveData(Name,TriggerID)
Saves a Trigger ID in the map data
LoadData
LoadData(Name)
Loads data and triggers a saved TriggerID
ExtinguishFire
ExtinguishFire
Extinguishes fire
SetAutoVictoryCondition
SetAutoVictoryCondition(Boolean)
Sets the auto victory condition
SetVelocity
SetVelocity(X,Y)
Sets the velocity of a dynamic object
Track
Track(Player,X,Y)
Teleports an object to a player
SetInputReadOnly
SetInputReadOnly
Disables the input of a player but still registers hotkeys. Works with OnHotkey trigger
ChatMessage
ChatMessage(Message,R,G,B)
Shows a message in chat with a color
AddScore
AddScore(Amount)
Adds score in a survival game
OnDifficulty
OnDifficulty(DifficultyLevel)
Checks the difficulty level and activates triggers
OnPlayerAction
OnPlayerAction(Player,Action)
Activates triggers when a player does an action
SetBotBehavior
SetBotBehavior(Behavior,Value)
Sets the behavior of a bot
SetChallengeTimeLimit
SetChallengeTimeLimit(Seconds)
Updates the time limit in a challenge
OnChance
OnChance(Chance)
On a chance activates triggers
OnUserAmount
OnUserAmount(Amount)
On the user amount activates triggers
SetMass
SetMass(Mass)
Sets the mass of selected objects
ProjectileArea
ProjectileArea
Activates triggers when a projectile passes on an area
OnChatCommand
OnChatCommand(Command)
Activates triggers on a command
OnModChatCommand
OnModChatCommand(Command)
Activates triggers on a command executed by a moderator or the host
CheckHealth
CheckHealth(Expression,Amount)
Activates triggers depending on an object's health
SetAngularVelocity
SetAngularVelocity(Amount)
Sets the angular velocity of a dynamic object
OnExplosionHit
OnExplosionHit
Activates triggers when a explosion hits anything.
Arguments that start with ? are optional
9 Comments
z.n.z.m 13 Jan, 2023 @ 5:12am 
thank you, i can set a base heath for every players in custom matches ?
dsaf  [author] 12 Jan, 2023 @ 6:41pm 
Open the map in the map editor and copy the trigger you wish
z.n.z.m 12 Jan, 2023 @ 6:19pm 
the commands need the "/" ?
z.n.z.m 12 Jan, 2023 @ 6:19pm 
how i can do this?
dsaf  [author] 12 Jan, 2023 @ 3:09pm 
You can copy paste the triggers and modify them, there's already a button setup for each of them
z.n.z.m 12 Jan, 2023 @ 3:02pm 
where
dsaf  [author] 12 Jan, 2023 @ 10:59am 
See the map for examples/templates on commands
z.n.z.m 12 Jan, 2023 @ 8:48am 
how i use the comands?
WolfieSFD 11 Jan, 2023 @ 10:00am 
nice, but can you ad a command that hides nametags?