Oblivion Mod:Cobl/Modding/General Functions/Cheat Sheet

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

This is a quick table for all COBL functions.

  • Requirements - To save some CPU, the functions won't make the necessary requirement checks. See the COBL Signal cobSigSE for a quick way to check.
  • Labels Used - Make sure the calling script doesn't use these labels (or else...).
  • Function Variables/Flags
    • Input - Required and must be set
    • Optional - Modifies the function, set them each time you want them
    • Output - Usually a binary output; 1 for "Yes", 0 for "No"
    • Internal (not listed here) - These are used internally by the function, please don't set them...
Function Script Requires Labels Used Input Flags Optional Flags Output Flags
cobGenAddFromListFAS
  • Using a container as the list
OBSE v11 255 rCont
rList
AtMost
AtLeast
Exactly
BlockMessages
N/A
cobGenAddFromListFAS
  • Using an array as the list
OBSE v12
Pluggy v74
255 rCont
aList
EITHER:
  • aCount
  • Exactly
AtMost
AtLeast
BlockMessages
ScanUntilEmpty
ScanAll
N/A
cobGenAppFinderFAS OBSE v10 Uses 1 LabelID

See cobGenLabelID

rCont MultConts rMortPest
rCalc
rRet
rAlem
cobGenMagicItemsHaveSameEffectsFAS OBSE v13 254
255
rMagicItemA
rMagicItemB
IgnoreScriptless Yes
cobGenMagicItemsHaveSamePotenciessFAS OBSE v13 254
255
rMagicItemA
rMagicItemB
IgnoreScriptedEffects
IgnoreScriptless
Yes
cobGenMimicPotionFAS OBSE v13 255 rCopyFrom
rCopyTo
DontCopyQuest
DontCopyScript
DontCopyEffects
N/A
cobGenRefreshContMenuFAS OBSE v11 N/A rCont RunInGM N/A
cobGenRefreshInvMenuFAS N/A N/A N/A WaitForInv
RunInAnyMenu
Instantly
N/A
cobGenRemoveFromListFAS
  • Using a container as the list
OBSE v11 255 rCont
rList
AtMost
AtLeast
Exactly
BlockMessages
N/A
cobGenRemoveFromListFAS
  • Using an array as the list
OBSE v12
Pluggy v74
255 rCont
aList
EITHER:
  • aCount
  • Exactly
AtMost
AtLeast
BlockMessages
ScanUntilEmpty
ScanAll
N/A
cobGenToggleMenuFAS OBSE v10 N/A RefreshAfterwards WaitForInv
RunInAnyMenu
Instantly
N/A