Skip to content

Commit

Permalink
Added trigger_jumppad (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panzerhandschuh committed May 9, 2023
1 parent b7bda69 commit b3015a9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions db/factories/momentum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ trigger_fog
trigger_gravity
trigger_hierarchy
trigger_impact
trigger_jumppad
trigger_look
trigger_momentum_campaign_changelevel
trigger_momentum_limitmovement
Expand Down
10 changes: 10 additions & 0 deletions fgd/brush/trigger/trigger_jumppad.fgd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@SolidClass base(Trigger)
line(255 255 0, targetname, launchTarget)
= trigger_jumppad: "Launch the player towards a specified target."
[
launchtarget(target_destination) : "Launch target" : : "Entity to try to 'hit' when we're launched."
launchsound(sound) : "Launch Sound" : : "Sound played when an entity is launched."

// Inputs
input SetLaunchTarget(string) : "Set the entity to try hit when launched."
]
1 change: 1 addition & 0 deletions fgd/visgroups.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@
* `trigger_catapult`
* `trigger_gravity`
* `trigger_impact`
* `trigger_jumppad`
* `trigger_momentum_push`
* `func_shootboost`
- Trigger Once (`trigger_once`)
Expand Down

0 comments on commit b3015a9

Please sign in to comment.