Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Checking if gametype is Grief in gsc?

Checking if gametype is Grief in gsc?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
2 Posts 1 Posters 159 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • techboy04gamingundefined Offline
    techboy04gamingundefined Offline
    techboy04gaming
    wrote on last edited by
    #1

    Hello there

    I am adding in the Grief Fix into my GSC but I want to make it so itll only execute if the current gametype is Grief (so it doesnt affect regular modes)
    Is it possible to do that?

    1 Reply Last reply
    0
    • techboy04gamingundefined Offline
      techboy04gamingundefined Offline
      techboy04gaming
      wrote on last edited by
      #2

      Solved

      I looked into my GSC and found that

      	if ( level.scr_zm_ui_gametype == "zgrief" )
      	{
      		//Insert code here
      	}
      

      Seemed to work. Keeping the post incase someone is looking for this.

      1 Reply Last reply
      0

      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Donate