dcx:library_checks_and_execs
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dcx:library_checks_and_execs [2015/11/13 14:06] – vic | dcx:library_checks_and_execs [2026/11/28 09:26] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====How do the library based Checks and Execs work?==== | ||
| - | ===Check values of different types of libvars=== | ||
| - | There are different kind of libvars which can have different kind of values. | ||
| - | |||
| - | Libvar Types: Commanders, Historical Unit, Historical Model, LandscapeType, | ||
| - | |||
| - | ValueTypes: numeric, text, regime slot#, people slot#, sftype slot#, etc.. | ||
| - | |||
| - | ==CheckLibVarCommander== | ||
| - | parameters: historical unit slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarHex | ||
| - | parameters: x, y, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarSFType== | ||
| - | parameters: sftype slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarLocType== | ||
| - | parameters: locationtype slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarRoad== | ||
| - | parameters: roadType slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarRiver== | ||
| - | parameters: riverType slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarPeople== | ||
| - | parameters: people slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarRegime== | ||
| - | parameters: regime slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarLandscape== | ||
| - | parameters: landscapeType slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarHistorical== | ||
| - | parameters: historical unit slot#, library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ==CheckLibVarGlobal== | ||
| - | parameters: library Name, variable Name | ||
| - | |||
| - | returns: value of libvar | ||
| - | |||
| - | ===Check the slot# of a specific library imported data instance=== | ||
| - | |||
| - | ==CheckGetEventPic== | ||
| - | parameters: library Name, event picture Id# as set in library | ||
| - | |||
| - | returns: returns event picture slot# | ||
| - | |||
| - | ==CheckGetCardByLibrary== | ||
| - | parameters: library Name, card Id# as set in library | ||
| - | |||
| - | returns: returns actioncard slot# | ||
| - | |||
| - | ==CheckGetPeopleByLibrary== | ||
| - | parameters: library Name, people Id# as set in library | ||
| - | |||
| - | returns: returns people slot# | ||
| - | |||
| - | ==CheckGetSFTypeByLibrary== | ||
| - | parameters: library Name, sfType Id# as set in library | ||
| - | |||
| - | returns: returns sfType slot# | ||
| - | |||
| - | ==CheckGetPreDefByLibrary== | ||
| - | parameters: library Name, unit PredefId# as set in library | ||
| - | |||
| - | returns: returns unit predef ID# in our scenario | ||
| - | |||
| - | ==CheckGetEventByLib== | ||
| - | parameters: library Name, event Id# as set in library | ||
| - | |||
| - | returns: returns event slot# | ||
| - | |||
| - | ==CheckGetHistoricalIDByLib== | ||
| - | parameters: library Name, historical unit ID# as set in library | ||
| - | |||
| - | returns: returns historical unit ID# in our scenario | ||
| - | |||
| - | ==CheckGetHistoricalIdForCommanderByLib== | ||
| - | parameters: library Name, commander ID# as set in library | ||
| - | |||
| - | returns: returns historical unit ID# in our scenario | ||
| - | |||
| - | ==CheckGetSmallPic== | ||
| - | parameters: library Name, smallGfx Id# as set in library | ||
| - | |||
| - | returns: returns smallGfx slot# | ||
| - | |||
| - | |||
| - | ===Misc. checks related to libraries=== | ||
| - | |||
| - | ==CheckGetCardLib== | ||
| - | parameters: cards slot# | ||
| - | |||
| - | returns: returns name of library | ||
| - | |||
| - | ===The following Execs are available: | ||
dcx/library_checks_and_execs.1447423610.txt.gz · Last modified: (external edit)
