User Tools

Site Tools


editor:editor_faqs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
editor:editor_faqs [2012/09/15 18:02] – bwheatleyeditor:editor_faqs [2026/06/22 12:21] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Editor Faq ====== ====== Editor Faq ======
- 
  
 Functions  Functions 
Line 22: Line 21:
 CheckRandomPercent()  CheckRandomPercent() 
  
-11) CheckLandscapeType([X],[Y]) +CheckLandscapeType([X],[Y]) 
  
-12) CheckLandscapeSprite([X],[Y]) +CheckLandscapeSprite([X],[Y]) 
  
-13) CheckSlot([X],[Y],[Slot#]) +CheckSlot([X],[Y],[Slot#]) 
  
-14) CheckMapWidth() +CheckMapWidth() 
  
-15) CheckMapHeight() +CheckMapHeight() 
  
-16) CheckYear() +CheckYear() 
  
-17) CheckMonth() +CheckMonth() 
  
-18) CheckDay() +CheckDay() 
  
-19) CheckIfAI([Regime#]) +CheckIfAI([Regime#]) 
  
-20) CheckPolPts([Regime#]) +CheckPolPts([Regime#]) 
  
-21) CheckVP([Regime#]) 
  
 +CheckVP([Regime#])
  
 CheckVP([Regime#]) CheckVP([Regime#])
Line 53: Line 52:
  CheckHQFor([X],[Y])  CheckHQFor([X],[Y])
  
- CheckActionCard([Regime Owner],[Card Nr])+ CheckActionCard([Regime Owner],[Card Nr]) : Returns 0 if the card (a card you've been dealt but not played) is NOT in the deck. Returns 1 if it is. 
  
  CheckDipBlock([Regime#])  CheckDipBlock([Regime#])
Line 59: Line 58:
  CheckSleep([Regime#])  CheckSleep([Regime#])
  
- CheckHistoricActionCard([Regime Owner],[Card Nr])+ CheckHistoricActionCard([Regime Owner],[Card Nr]) : Returns 0 if the historic card (a card you've played in the past) is NOT in the deck. Returns 1 if it is. 
  
  CheckSFTypeInArea([AreaSlot],[AreaCode (-1=all hexes)],[SFType],[Regime])  CheckSFTypeInArea([AreaSlot],[AreaCode (-1=all hexes)],[SFType],[Regime])
Line 129: Line 128:
  CheckStringListCols([StringList ID])  CheckStringListCols([StringList ID])
  
- CheckStringListLastID()+ CheckStringListLastID() : Use the CheckStringListLastID to get a STRINGID, which you need to change or read anything from it. To get the last row you have to use another function.
  
  CheckUnitRdn([Unit#])  CheckUnitRdn([Unit#])
Line 311: Line 310:
  
  ExecMessage([Regime1],[Regime2],[Overwrite scndesc >0=yes],[Event Pic Nr (-1=none)]) : if reg1=-1 and reg2=-1 then message is send to all regimes.  ExecMessage([Regime1],[Regime2],[Overwrite scndesc >0=yes],[Event Pic Nr (-1=none)]) : if reg1=-1 and reg2=-1 then message is send to all regimes.
 +  - Options inside the actual message itself
 +  - [tempstring]nr[/tempstring]
 +  - [regimename]nr[/regimename]
 +  - [hexname]x,y[/hexname]
 +  - [unitname]nr[/unitname]
 +  - [gamevar]nr[/gamevar] =>game var value
 +  - [regimevar]regnr,nr[/regimevar] =>regime var value
 +  - [tempvar]nr[/tempvar]
 +  - [hisname]hisnr[/hisname]
 +  - [realhisname]hisID[/realhisname]
 +  - [commander]hisnr[/commander]
 +  - [realcommander]hisID[/realcommander]
 +  - [portrait]hisnr[/portrait]
 +  - [realportrait]hisID[/portrait]
 +  - [date]roundNr[/date] 
 +
 +
  
  BlockEvent()  BlockEvent()
Line 467: Line 483:
  ExecUnitOffensiveBonus([Unit #],[Absolute modifier pts +/-],[People (-1=all)],[SFTypeGroup (-1=all) (>=100 = specific sftype -100)]) : Change stats of subformations in a specified unit. If you set modifier to 0 it resets the offmod to 0. Each point is a percentage point. If you specify a sftypegroup >=100 then you are actually specifiying a specific SFType Nr.  ExecUnitOffensiveBonus([Unit #],[Absolute modifier pts +/-],[People (-1=all)],[SFTypeGroup (-1=all) (>=100 = specific sftype -100)]) : Change stats of subformations in a specified unit. If you set modifier to 0 it resets the offmod to 0. Each point is a percentage point. If you specify a sftypegroup >=100 then you are actually specifiying a specific SFType Nr.
  
- ExecUnitDefensiveBonus([Unit #],[Absolute modifier pts +/-],[People (-1=all)],[SFTypeGroup (- + ExecUnitDefensiveBonus([Unit #],[Absolute modifier pts +/-],[People (-1=all)],[SFTypeGroup (-1=all) (>=100 = specific sftype -100)]) : Change stats of subformations in a specified unit. If you set the modifier to 0 it resets the defmod to 0. Each point is a percentage point. If you specify a sftypegroup >=100 then you are actually specifiying a specific SFType Nr.
-1=all) (>=100 = specific sftype -100)]) : Change stats of subformations in a specified unit. If you set the modifier to 0 it resets the defmod to 0. Each point is a percentage point. If you specify a sftypegroup >=100 then you are actually specifiying a specific SFType Nr.+
  
  ExecUnitSelectable([Unit #]) : The specified unit will now be selectable in the 'select a unit' popup screen. Use this exec in a pre-event from an actioncard.  ExecUnitSelectable([Unit #]) : The specified unit will now be selectable in the 'select a unit' popup screen. Use this exec in a pre-event from an actioncard.
Line 510: Line 525:
  ExecChangeCommanderDescript([Unit#],[New Description])  ExecChangeCommanderDescript([Unit#],[New Description])
  
- ExecChangeCommanderOverlay([Unit#],[New overlay filename]) : Reloads the overlay file for this commander. specifying an empty string '' will result in no overlay+ ExecChangeCommanderOverlay([Unit#],[New overlay filename]) : Reloads the overlay file for this commander. specifying an empty string '''' will result in no overlay
  
  ExecCommanderAddDeckCardUsingStringList([Unit#],[StringList CardList ID#]) : Picks a weighted chance card from the stringlist in question. will not take doubles. will add text to description  ExecCommanderAddDeckCardUsingStringList([Unit#],[StringList CardList ID#]) : Picks a weighted chance card from the stringlist in question. will not take doubles. will add text to description
editor/editor_faqs.1347732139.txt.gz · Last modified: 2026/06/22 12:14 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki