Search results

From Civilization Modding Wiki
Jump to navigationJump to search
  • {{CodeLine5|0547}}<syntaxhighlight lang="lua">unit:SetDeployFromOperationTurn(1);</syntaxhighlight> ...hlight lang="lua">Map.GetPlot(42,39):GetUnit(0):SetDeployFromOperationTurn(1);</syntaxhighlight>
    3 KB (234 words) - 13:39, 20 September 2012
  • ...0288}}<syntaxhighlight lang="lua">if city:IsCanPurchase(true, unitID, -1, -1) then</syntaxhighlight> ...<syntaxhighlight lang="lua">if (not city:IsCanPurchase(false, unitID, -1, -1)) then</syntaxhighlight>
    4 KB (480 words) - 18:04, 19 September 2012
  • ...light lang="lua">instance.HealthBar:SetFGColor( { x = 0, y = 1, z = 0, w = 1 } );</syntaxhighlight> ...light lang="lua">instance.HealthBar:SetFGColor( { x = 1, y = 1, z = 0, w = 1 } );</syntaxhighlight>
    2 KB (227 words) - 14:17, 20 September 2012
  • ...|0088}}<syntaxhighlight lang="lua">for iPlotLoop = 0, Map.GetNumPlots()-1, 1 do</syntaxhighlight> {{CodeLine5|0027}}<syntaxhighlight lang="lua">for i = 1, Map.GetNumPlots(), 1 do</syntaxhighlight>
    1 KB (143 words) - 20:55, 19 September 2012
  • ...Bottom left plot is 0,0 and top right plot is (mapwidth - 1),(mapheight - 1).
    423 bytes (78 words) - 07:40, 5 August 2013
  • ...PlaceSpecificNumberOfResources(self.oil_ID, sea_oil_amt, iNumToPlace, 0.2, 1, 4, 7, self.coast_list)</syntaxhighlight> ...Place = self:PlaceSpecificNumberOfResources(self.iron_ID, iron_amt, 1, 1, -1, 0, 0, shuf_list);</syntaxhighlight>
    7 KB (700 words) - 13:57, 20 September 2012
  • ...and PermanentWarPeace=2. This means team 0 cannot sue for peace with team 1 and cannot declare war on team 2. This would come in handy for a scenario
    399 bytes (69 words) - 21:45, 31 May 2009
  • {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
    6 KB (708 words) - 20:11, 14 January 2013
  • {{CodeLine5|0223}}<syntaxhighlight lang="lua">if( g_pTeam:GetNumMembers() > 1 ) then</syntaxhighlight> ...deLine5|0281}}<syntaxhighlight lang="lua">if( pOtherTeam:GetNumMembers() > 1 ) then</syntaxhighlight>
    2 KB (191 words) - 11:24, 20 September 2012
  • EG: AtWar=1 means this team will be at war with team 1 at the start of the scenario.
    173 bytes (33 words) - 21:41, 31 May 2009
  • {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" | MaxGlobalInstances || Integer || -1 ||
    843 bytes (95 words) - 01:28, 3 October 2011
  • ...ine5|1322}}<syntaxhighlight lang="lua">if res_plot:GetResourceType(-1) == -1 then</syntaxhighlight> {{CodeLine5|3475}}<syntaxhighlight lang="lua">if plot:GetResourceType(-1) ~= -1 then</syntaxhighlight>
    5 KB (557 words) - 10:16, 20 September 2012
  • ...ht lang="lua">Network.SendDoTask(cityID, TaskTypes.TASK_ANNEX_PUPPET, -1, -1, false, false, false, false);</syntaxhighlight> ...>Network.SendDoTask(pCity:GetID(), TaskTypes.TASK_CHANGE_WORKING_PLOT, 0, -1, false, bAlt, bShift, bCtrl);</syntaxhighlight>
    3 KB (397 words) - 06:50, 20 September 2012
  • {{CodeLine5|0470}}<syntaxhighlight lang="lua">pPlot:GetUnit(0):Kill(true, -1);</syntaxhighlight> ...hlight lang="lua">Map.GetPlot(42,39):GetUnit(0):SetDeployFromOperationTurn(1);</syntaxhighlight>
    5 KB (448 words) - 10:20, 20 September 2012
  • {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
    2 KB (239 words) - 23:02, 24 September 2012
  • ...ame.FoundReligion(iVaticanPlayer, eReligion, nil, eBelief2, eBelief3, -1, -1, pVaticanCity);</syntaxhighlight> ...>Game.FoundReligion(iMeccaPlayer, eReligion, nil, eBelief2, eBelief3, -1, -1, pMeccaCity);</syntaxhighlight>
    2 KB (272 words) - 20:25, 19 September 2012
  • ...}<syntaxhighlight lang="lua">if x < 1 or x >= iW - 1 or y < 1 or y >= iH - 1 then</syntaxhighlight> ...Line5|6329}}<syntaxhighlight lang="lua">if area ~= area_ID and area_ID ~= -1 then</syntaxhighlight>
    7 KB (815 words) - 10:08, 20 September 2012
  • ...ne5|3492}}<syntaxhighlight lang="lua">plot:SetResourceType(self.banana_ID, 1);</syntaxhighlight> ...Line5|3497}}<syntaxhighlight lang="lua">plot:SetResourceType(self.deer_ID, 1);</syntaxhighlight>
    4 KB (395 words) - 22:19, 30 January 2014
  • ...ine5|0021}}<syntaxhighlight lang="lua">return Matchmaking.GetLocalID() ~= -1;</syntaxhighlight> ...taxhighlight lang="lua">m_bIsInStagingRoom = (Matchmaking.GetLocalID() ~= -1);</syntaxhighlight>
    4 KB (374 words) - 06:33, 20 September 2012
  • ...5|0080}}<syntaxhighlight lang="lua">SetVolumeKnobValue(iMusicVolumeKnobID, 1);</syntaxhighlight> ...ne5|0081}}<syntaxhighlight lang="lua">SetVolumeKnobValue(iSFXVolumeKnobID, 1);</syntaxhighlight>
    2 KB (179 words) - 16:58, 19 September 2012

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)