Template:FGD-f
Jump to navigation
Jump to search
spawnflags(flags) = [
]
Template for adding flags. You should be able to mostly copy straight from Template:Fl transclusions. See Template:FGD-entry.
- 1, 4, 7, 10...
<integer>
- The flag's number.
- 2, 5, 8, 11...
<string>
- Flag description. String must be under a certain length, or Hammer rejects it.
- 3, 6, 9, 12...
<boolean>
- Should this flag default to being checked or not. If you forget to add this, the text "defflagismissing" will appear in its place.
If you use this template in the "Source Entities" or "User" namespaces but forget to change the template from Fl to FGD-f, that template will automatically create code for a malformed KV which will stick out in Hammer's error reporter window. This is to save you time, otherwise Hammer will hang for no apparent reason.