FGD: Add game_counter and game_counter_set

This commit is contained in:
Steam Deck User 2023-03-22 10:05:46 -04:00
parent ee0ae0d01f
commit 1f685b35d5
2 changed files with 46 additions and 2 deletions

View file

@ -1320,4 +1320,26 @@
]
@PointClass = zombie_horde_point : "Hording spot for Zombies"
[]
[]
@PointClass base(Targetname, Target) = game_counter : "Fires when it hits limit"
[
spawnflags(flags) =
[
1: "Remove On fire" : 0
2: "Reset On fire" : 1
]
master(string) : "Master"
frags(integer) : "Initial Value" : 0
health(integer) : "Limit Value" : 10
]
@PointClass base(Targetname, Target) = game_counter_set : "Sets a game_counter"
[
spawnflags(flags) =
[
1: "Remove On fire" : 0
]
master(string) : "Master"
frags(integer) : "New Value" : 10
]

View file

@ -1328,4 +1328,26 @@ NOTE: set angle value to 0 if using angles key to rotate mdls"
]
@PointClass = zombie_horde_point : "Hording spot for Zombies"
[]
[]
@PointClass base(Targetname, Target) = game_counter : "Fires when it hits limit"
[
spawnflags(flags) =
[
1: "Remove On fire" : 0
2: "Reset On fire" : 1
]
master(string) : "Master"
frags(integer) : "Initial Value" : 0
health(integer) : "Limit Value" : 10
]
@PointClass base(Targetname, Target) = game_counter_set : "Sets a game_counter"
[
spawnflags(flags) =
[
1: "Remove On fire" : 0
]
master(string) : "Master"
frags(integer) : "New Value" : 10
]