Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
SRB2
SRB2
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 245
    • Issues 245
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 70
    • Merge Requests 70
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • STJr
  • SRB2SRB2
  • Repository

Switch branch/tag
  • SRB2
  • src
  • CMakeLists.txt
Find file
BlameHistoryPermalink
  • James R.'s avatar
    Lua taglib for accessing taggroups · 621efbfa
    James R. authored Dec 04, 2020
    The global "tags" can be iterated upon for every unique tag which is set in the
    level. If a tag is set on a sector/line/thing, it will be included. Taking the
    length of "tags" will give you the number of these unique tags. (If a tag is
    set on multiple sectors/lines/things, it will only be counted once though.)
    
    For sectors, lines and mapthings, call the field "tagged". This function takes
    one argument, which is the tag. The return value can be iterated over for all
    the sectors/lines/things with that tag. The length can also be taken for the
    number of such objects. If no argument is given, the global tag is default.
    621efbfa
CMakeLists.txt 14.4 KB
EditWeb IDE
×

Replace CMakeLists.txt

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.