• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Araxiel

Sergeant
100 Badges
Mar 14, 2016
76
83
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Art of War
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Crusader Kings II: Holy Fury Pre-order
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Federations
  • Hearts of Iron 4: Arms Against Tyranny
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Victoria 3 Sign Up
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Hearts of Iron IV: Together for Victory
  • Prison Architect: Psych Ward
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Prison Architect
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Cities: Skylines Industries
  • Surviving Mars: First Colony Edition
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • The Showdown Effect
  • War of the Roses
  • Cities: Skylines
I'm trying my hands at modding SM, but I can't find how to get the mission sponsor's name. Basically this:

Code:
    local sponsor= GetSponsorProfile()
   if sponsor.name == "SomeSponsor" then

however, GetSponsorProfile is not the actual command.

And as a quick follow-up, where would I find a list of potential commands and conditions the game supports?