Jass documentation Database

JASS Documentation Database REFORGED


Results for the query "string" as a "type"

The search keyword must be a single word (no spaces).

Type string

Ancestor type: NO ancestor, hardcoded
Children type(s): None
Location: hardcoded
Preview: No preview available

Information about string

Information contributed by moyack
on August 10, 2020, 12:56:31 PM.
JASS strings are represented inside "" (example: "example") , there are 2 null values for strings, "" and null.

Strings in JASS may contain carriage returns without causing any trouble.

Localized Strings

Using TRIGSTR_ at the start of the string might make the game read a string from the wts file, for example: "TRIGSTR_001" will be replaced by the game with the string number 1 of the wts file.

Only a few natives will consider the TRIGSTR_ preffix, usually the natives that handle text messages or names are the only ones that consider this.

Control Characters

\n\r Represents a carriage return, you can choose between using a single carriage return or just this control character.

\" Allows to include quotes inside strings, using \" is the same as using a single " without closing the string.

\\ Allows to use the \ character, because a single \ is used for control, whenever you use \\ the game considers it a single \ , if you only place a single \ it may cause a compiler crash.

Formatting

|cAARRGGBB Will change the color of the next text of the string , AA is alpha, RR is red, GG is green and BB is blue. The colors are used in hex values, example: |cffcc1100

|r Will reset the color of the text back to normal.

|n New line, equivalent to carriage return, but this might not work correctly on some natives.

Functions that takes type string

common.j
OrderId:
constant native OrderId takes string orderIdString returns integer
UnitId:
constant native UnitId takes string unitIdString returns integer
AbilityId:
constant native AbilityId takes string abilityIdString returns integer
S2I:
native S2I takes string s returns integer
S2R:
native S2R takes string s returns real
SubString:
native SubString takes string source, integer start, integer end returns string
StringLength:
native StringLength takes string s returns integer
StringCase:
native StringCase takes string source, boolean upper returns string
StringHash:
native StringHash takes string s returns integer
GetLocalizedString:
native GetLocalizedString takes string source returns string
GetLocalizedHotkey:
native GetLocalizedHotkey takes string source returns integer
SetMapName:
native SetMapName takes string name returns nothing
SetMapDescription:
native SetMapDescription takes string description returns nothing
SetPlayerName:
native SetPlayerName takes player whichPlayer, string name returns nothing
GroupEnumUnitsOfType:
native GroupEnumUnitsOfType takes group whichGroup, string unitname, boolexpr filter returns nothing
GroupEnumUnitsOfTypeCounted:
native GroupEnumUnitsOfTypeCounted takes group whichGroup, string unitname, boolexpr filter, integer countLimit returns nothing
GroupImmediateOrder:
native GroupImmediateOrder takes group whichGroup, string order returns boolean
GroupPointOrder:
native GroupPointOrder takes group whichGroup, string order, real x, real y returns boolean
GroupPointOrderLoc:
native GroupPointOrderLoc takes group whichGroup, string order, location whichLocation returns boolean
GroupTargetOrder:
native GroupTargetOrder takes group whichGroup, string order, widget targetWidget returns boolean
ParseTags:
constant native ParseTags takes string taggedString returns string
ExecuteFunc:
native ExecuteFunc takes string funcName returns nothing
TriggerRegisterVariableEvent:
native TriggerRegisterVariableEvent takes trigger whichTrigger, string varName, limitop opcode, real limitval returns event
TriggerRegisterCommandEvent:
native TriggerRegisterCommandEvent takes trigger whichTrigger, integer whichAbility, string order returns event
TriggerRegisterPlayerChatEvent:
native TriggerRegisterPlayerChatEvent takes trigger whichTrigger, player whichPlayer, string chatMessageToDetect, boolean exactMatchOnly returns event
QueueDestructableAnimation:
native QueueDestructableAnimation takes destructable d, string whichAnimation returns nothing
SetDestructableAnimation:
native SetDestructableAnimation takes destructable d, string whichAnimation returns nothing
CreateUnitByName:
native CreateUnitByName takes player whichPlayer, string unitname, real x, real y, real face returns unit
CreateUnitAtLocByName:
native CreateUnitAtLocByName takes player id, string unitname, location whichLocation, real face returns unit
QueueUnitAnimation:
native QueueUnitAnimation takes unit whichUnit, string whichAnimation returns nothing
SetUnitAnimation:
native SetUnitAnimation takes unit whichUnit, string whichAnimation returns nothing
SetUnitAnimationWithRarity:
native SetUnitAnimationWithRarity takes unit whichUnit, string whichAnimation, raritycontrol rarity returns nothing
AddUnitAnimationProperties:
native AddUnitAnimationProperties takes unit whichUnit, string animProperties, boolean add returns nothing
SetUnitLookAt:
native SetUnitLookAt takes unit whichUnit, string whichBone, unit lookAtTarget, real offsetX, real offsetY, real offsetZ returns nothing
IssueImmediateOrder:
native IssueImmediateOrder takes unit whichUnit, string order returns boolean
IssuePointOrder:
native IssuePointOrder takes unit whichUnit, string order, real x, real y returns boolean
IssuePointOrderLoc:
native IssuePointOrderLoc takes unit whichUnit, string order, location whichLocation returns boolean
IssueTargetOrder:
native IssueTargetOrder takes unit whichUnit, string order, widget targetWidget returns boolean
IssueInstantPointOrder:
native IssueInstantPointOrder takes unit whichUnit, string order, real x, real y, widget instantTargetWidget returns boolean
IssueInstantTargetOrder:
native IssueInstantTargetOrder takes unit whichUnit, string order, widget targetWidget, widget instantTargetWidget returns boolean
IssueBuildOrder:
native IssueBuildOrder takes unit whichPeon, string unitToBuild, real x, real y returns boolean
IssueNeutralImmediateOrder:
native IssueNeutralImmediateOrder takes player forWhichPlayer, unit neutralStructure, string unitToBuild returns boolean
IssueNeutralPointOrder:
native IssueNeutralPointOrder takes player forWhichPlayer,unit neutralStructure, string unitToBuild, real x, real y returns boolean
IssueNeutralTargetOrder:
native IssueNeutralTargetOrder takes player forWhichPlayer,unit neutralStructure, string unitToBuild, widget target returns boolean
GetPlayerTypedUnitCount:
constant native GetPlayerTypedUnitCount takes player whichPlayer, string unitName, boolean includeIncomplete, boolean includeUpgrades returns integer
ChangeLevel:
native ChangeLevel takes string newLevel, boolean doScoreScreen returns nothing
LoadGame:
native LoadGame takes string saveFileName, boolean doScoreScreen returns nothing
SaveGame:
native SaveGame takes string saveFileName returns nothing
RenameSaveDirectory:
native RenameSaveDirectory takes string sourceDirName, string destDirName returns boolean
RemoveSaveDirectory:
native RemoveSaveDirectory takes string sourceDirName returns boolean
CopySaveGame:
native CopySaveGame takes string sourceSaveName, string destSaveName returns boolean
SaveGameExists:
native SaveGameExists takes string saveName returns boolean
SaveGameCheckpoint:
native SaveGameCheckpoint takes string saveFileName, boolean showWindow returns nothing
DialogSetMessage:
native DialogSetMessage takes dialog whichDialog, string messageText returns nothing
DialogAddButton:
native DialogAddButton takes dialog whichDialog, string buttonText, integer hotkey returns button
DialogAddQuitButton:
native DialogAddQuitButton takes dialog whichDialog, boolean doScoreScreen, string buttonText, integer hotkey returns button
InitGameCache:
native InitGameCache takes string campaignFile returns gamecache
StoreInteger:
native StoreInteger takes gamecache cache, string missionKey, string key, integer value returns nothing
StoreReal:
native StoreReal takes gamecache cache, string missionKey, string key, real value returns nothing
StoreBoolean:
native StoreBoolean takes gamecache cache, string missionKey, string key, boolean value returns nothing
StoreUnit:
native StoreUnit takes gamecache cache, string missionKey, string key, unit whichUnit returns boolean
StoreString:
native StoreString takes gamecache cache, string missionKey, string key, string value returns boolean
SyncStoredInteger:
native SyncStoredInteger takes gamecache cache, string missionKey, string key returns nothing
SyncStoredReal:
native SyncStoredReal takes gamecache cache, string missionKey, string key returns nothing
SyncStoredBoolean:
native SyncStoredBoolean takes gamecache cache, string missionKey, string key returns nothing
SyncStoredUnit:
native SyncStoredUnit takes gamecache cache, string missionKey, string key returns nothing
SyncStoredString:
native SyncStoredString takes gamecache cache, string missionKey, string key returns nothing
HaveStoredInteger:
native HaveStoredInteger takes gamecache cache, string missionKey, string key returns boolean
HaveStoredReal:
native HaveStoredReal takes gamecache cache, string missionKey, string key returns boolean
HaveStoredBoolean:
native HaveStoredBoolean takes gamecache cache, string missionKey, string key returns boolean
HaveStoredUnit:
native HaveStoredUnit takes gamecache cache, string missionKey, string key returns boolean
HaveStoredString:
native HaveStoredString takes gamecache cache, string missionKey, string key returns boolean
FlushStoredMission:
native FlushStoredMission takes gamecache cache, string missionKey returns nothing
FlushStoredInteger:
native FlushStoredInteger takes gamecache cache, string missionKey, string key returns nothing
FlushStoredReal:
native FlushStoredReal takes gamecache cache, string missionKey, string key returns nothing
FlushStoredBoolean:
native FlushStoredBoolean takes gamecache cache, string missionKey, string key returns nothing
FlushStoredUnit:
native FlushStoredUnit takes gamecache cache, string missionKey, string key returns nothing
FlushStoredString:
native FlushStoredString takes gamecache cache, string missionKey, string key returns nothing
GetStoredInteger:
native GetStoredInteger takes gamecache cache, string missionKey, string key returns integer
GetStoredReal:
native GetStoredReal takes gamecache cache, string missionKey, string key returns real
GetStoredBoolean:
native GetStoredBoolean takes gamecache cache, string missionKey, string key returns boolean
GetStoredString:
native GetStoredString takes gamecache cache, string missionKey, string key returns string
RestoreUnit:
native RestoreUnit takes gamecache cache, string missionKey, string key, player forWhichPlayer, real x, real y, real facing returns unit
SaveStr:
native SaveStr takes hashtable table, integer parentKey, integer childKey, string value returns boolean
DisplayTextToPlayer:
native DisplayTextToPlayer takes player toPlayer, real x, real y, string message returns nothing
DisplayTimedTextToPlayer:
native DisplayTimedTextToPlayer takes player toPlayer, real x, real y, real duration, string message returns nothing
DisplayTimedTextFromPlayer:
native DisplayTimedTextFromPlayer takes player toPlayer, real x, real y, real duration, string message returns nothing
SetDayNightModels:
native SetDayNightModels takes string terrainDNCFile, string unitDNCFile returns nothing
SetPortraitLight:
native SetPortraitLight takes string portraitDNCFile returns nothing
SetSkyModel:
native SetSkyModel takes string skyModelFile returns nothing
CreateMinimapIconOnUnit:
native CreateMinimapIconOnUnit takes unit whichUnit, integer red, integer green, integer blue, string pingPath, fogstate fogVisibility returns minimapicon
CreateMinimapIconAtLoc:
native CreateMinimapIconAtLoc takes location where, integer red, integer green, integer blue, string pingPath, fogstate fogVisibility returns minimapicon
CreateMinimapIcon:
native CreateMinimapIcon takes real x, real y, integer red, integer green, integer blue, string pingPath, fogstate fogVisibility returns minimapicon
SkinManagerGetLocalPath:
native SkinManagerGetLocalPath takes string key returns string
SetIntroShotText:
native SetIntroShotText takes string introText returns nothing
SetIntroShotModel:
native SetIntroShotModel takes string introModelPath returns nothing
PlayModelCinematic:
native PlayModelCinematic takes string modelName returns nothing
PlayCinematic:
native PlayCinematic takes string movieName returns nothing
ForceUIKey:
native ForceUIKey takes string key returns nothing
SetAltMinimapIcon:
native SetAltMinimapIcon takes string iconPath returns nothing
SetTextTagText:
native SetTextTagText takes texttag t, string s, real height returns nothing
CreateTrackable:
native CreateTrackable takes string trackableModelPath, real x, real y, real facing returns trackable
QuestSetTitle:
native QuestSetTitle takes quest whichQuest, string title returns nothing
QuestSetDescription:
native QuestSetDescription takes quest whichQuest, string description returns nothing
QuestSetIconPath:
native QuestSetIconPath takes quest whichQuest, string iconPath returns nothing
QuestItemSetDescription:
native QuestItemSetDescription takes questitem whichQuestItem, string description returns nothing
DefeatConditionSetDescription:
native DefeatConditionSetDescription takes defeatcondition whichCondition, string description returns nothing
TimerDialogSetTitle:
native TimerDialogSetTitle takes timerdialog whichDialog, string title returns nothing
LeaderboardAddItem:
native LeaderboardAddItem takes leaderboard lb, string label, integer value, player p returns nothing
LeaderboardSetLabel:
native LeaderboardSetLabel takes leaderboard lb, string label returns nothing
LeaderboardSetItemLabel:
native LeaderboardSetItemLabel takes leaderboard lb, integer whichItem, string val returns nothing
MultiboardSetTitleText:
native MultiboardSetTitleText takes multiboard lb, string label returns nothing
MultiboardSetItemsValue:
native MultiboardSetItemsValue takes multiboard lb, string value returns nothing
MultiboardSetItemsIcon:
native MultiboardSetItemsIcon takes multiboard lb, string iconPath returns nothing
MultiboardSetItemValue:
native MultiboardSetItemValue takes multiboarditem mbi, string val returns nothing
MultiboardSetItemIcon:
native MultiboardSetItemIcon takes multiboarditem mbi, string iconFileName returns nothing
SetCinematicCamera:
native SetCinematicCamera takes string cameraModelFile returns nothing
BlzCameraSetupSetLabel:
native BlzCameraSetupSetLabel takes camerasetup whichSetup, string label returns nothing
SetCineFilterTexture:
native SetCineFilterTexture takes string filename returns nothing
SetCinematicScene:
native SetCinematicScene takes integer portraitUnitId, playercolor color, string speakerTitle, string text, real sceneDuration, real voiceoverDuration returns nothing
NewSoundEnvironment:
native NewSoundEnvironment takes string environmentName returns nothing
CreateSound:
native CreateSound takes string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string eaxSetting returns sound
CreateSoundFilenameWithLabel:
native CreateSoundFilenameWithLabel takes string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string SLKEntryName returns sound
CreateSoundFromLabel:
native CreateSoundFromLabel takes string soundLabel, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate returns sound
CreateMIDISound:
native CreateMIDISound takes string soundLabel, integer fadeInRate, integer fadeOutRate returns sound
SetSoundParamsFromLabel:
native SetSoundParamsFromLabel takes sound soundHandle, string soundLabel returns nothing
SetMapMusic:
native SetMapMusic takes string musicName, boolean random, integer index returns nothing
PlayMusic:
native PlayMusic takes string musicName returns nothing
PlayMusicEx:
native PlayMusicEx takes string musicName, integer frommsecs, integer fadeinmsecs returns nothing
PlayThematicMusic:
native PlayThematicMusic takes string musicFileName returns nothing
PlayThematicMusicEx:
native PlayThematicMusicEx takes string musicFileName, integer frommsecs returns nothing
GetSoundFileDuration:
native GetSoundFileDuration takes string musicFileName returns integer
SetSoundFacialAnimationLabel:
native SetSoundFacialAnimationLabel takes sound soundHandle, string animationLabel returns boolean
SetSoundFacialAnimationGroupLabel:
native SetSoundFacialAnimationGroupLabel takes sound soundHandle, string groupLabel returns boolean
SetSoundFacialAnimationSetFilepath:
native SetSoundFacialAnimationSetFilepath takes sound soundHandle, string animationSetFilepath returns boolean
SetDialogueSpeakerNameKey:
native SetDialogueSpeakerNameKey takes sound soundHandle, string speakerName returns boolean
SetDialogueTextKey:
native SetDialogueTextKey takes sound soundHandle, string dialogueText returns boolean
AddSpecialEffect:
native AddSpecialEffect takes string modelName, real x, real y returns effect
AddSpecialEffectLoc:
native AddSpecialEffectLoc takes string modelName, location where returns effect
AddSpecialEffectTarget:
native AddSpecialEffectTarget takes string modelName, widget targetWidget, string attachPointName returns effect
AddSpellEffect:
native AddSpellEffect takes string abilityString, effecttype t, real x, real y returns effect
AddSpellEffectLoc:
native AddSpellEffectLoc takes string abilityString, effecttype t,location where returns effect
AddSpellEffectTarget:
native AddSpellEffectTarget takes string modelName, effecttype t, widget targetWidget, string attachPoint returns effect
AddSpellEffectTargetById:
native AddSpellEffectTargetById takes integer abilityId, effecttype t, widget targetWidget, string attachPoint returns effect
AddLightning:
native AddLightning takes string codeName, boolean checkVisibility, real x1, real y1, real x2, real y2 returns lightning
AddLightningEx:
native AddLightningEx takes string codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns lightning
GetAbilityEffect:
native GetAbilityEffect takes string abilityString, effecttype t, integer index returns string
GetAbilitySound:
native GetAbilitySound takes string abilityString, soundtype t returns string
CreateImage:
native CreateImage takes string file, real sizeX, real sizeY, real sizeZ, real posX, real posY, real posZ, real originX, real originY, real originZ, integer imageType returns image
CreateUbersplat:
native CreateUbersplat takes real x, real y, string name, integer red, integer green, integer blue, integer alpha, boolean forcePaused, boolean noBirthTime returns ubersplat
SetDoodadAnimation:
native SetDoodadAnimation takes real x, real y, real radius, integer doodadID, boolean nearestOnly, string animName, boolean animRandom returns nothing
SetDoodadAnimationRect:
native SetDoodadAnimationRect takes rect r, integer doodadID, string animName, boolean animRandom returns nothing
StartMeleeAI:
native StartMeleeAI takes player num, string script returns nothing
StartCampaignAI:
native StartCampaignAI takes player num, string script returns nothing
Cheat:
native Cheat takes string cheatStr returns nothing
Preload:
native Preload takes string filename returns nothing
PreloadGenEnd:
native PreloadGenEnd takes string filename returns nothing
Preloader:
native Preloader takes string filename returns nothing
AutomationSetTestType:
native AutomationSetTestType takes string testType returns nothing
AutomationTestStart:
native AutomationTestStart takes string testName returns nothing
BlzSetAbilityTooltip:
native BlzSetAbilityTooltip takes integer abilCode, string tooltip, integer level returns nothing
BlzSetAbilityActivatedTooltip:
native BlzSetAbilityActivatedTooltip takes integer abilCode, string tooltip, integer level returns nothing
BlzSetAbilityExtendedTooltip:
native BlzSetAbilityExtendedTooltip takes integer abilCode, string extendedTooltip, integer level returns nothing
BlzSetAbilityActivatedExtendedTooltip:
native BlzSetAbilityActivatedExtendedTooltip takes integer abilCode, string extendedTooltip, integer level returns nothing
BlzSetAbilityResearchTooltip:
native BlzSetAbilityResearchTooltip takes integer abilCode, string researchTooltip, integer level returns nothing
BlzSetAbilityResearchExtendedTooltip:
native BlzSetAbilityResearchExtendedTooltip takes integer abilCode, string researchExtendedTooltip, integer level returns nothing
BlzSetAbilityIcon:
native BlzSetAbilityIcon takes integer abilCode, string iconPath returns nothing
BlzSetAbilityActivatedIcon:
native BlzSetAbilityActivatedIcon takes integer abilCode, string iconPath returns nothing
BlzSetItemName:
native BlzSetItemName takes item whichItem, string name returns nothing
BlzSetItemDescription:
native BlzSetItemDescription takes item whichItem, string description returns nothing
BlzSetItemTooltip:
native BlzSetItemTooltip takes item whichItem, string tooltip returns nothing
BlzSetItemExtendedTooltip:
native BlzSetItemExtendedTooltip takes item whichItem, string extendedTooltip returns nothing
BlzSetItemIconPath:
native BlzSetItemIconPath takes item whichItem, string iconPath returns nothing
BlzSetUnitName:
native BlzSetUnitName takes unit whichUnit, string name returns nothing
BlzSetHeroProperName:
native BlzSetHeroProperName takes unit whichUnit, string heroProperName returns nothing
RequestExtraIntegerData:
native RequestExtraIntegerData takes integer dataType, player whichPlayer, string param1, string param2, boolean param3, integer param4, integer param5, integer param6 returns integer
RequestExtraBooleanData:
native RequestExtraBooleanData takes integer dataType, player whichPlayer, string param1, string param2, boolean param3, integer param4, integer param5, integer param6 returns boolean
RequestExtraStringData:
native RequestExtraStringData takes integer dataType, player whichPlayer, string param1, string param2, boolean param3, integer param4, integer param5, integer param6 returns string
RequestExtraRealData:
native RequestExtraRealData takes integer dataType, player whichPlayer, string param1, string param2, boolean param3, integer param4, integer param5, integer param6 returns real
BlzLoadTOCFile:
native BlzLoadTOCFile takes string TOCFile returns boolean
BlzCreateFrame:
native BlzCreateFrame takes string name, framehandle owner, integer priority, integer createContext returns framehandle
BlzCreateSimpleFrame:
native BlzCreateSimpleFrame takes string name, framehandle owner, integer createContext returns framehandle
BlzCreateFrameByType:
native BlzCreateFrameByType takes string typeName, string name, framehandle owner, string inherits, integer createContext returns framehandle
BlzGetFrameByName:
native BlzGetFrameByName takes string name, integer createContext returns framehandle
BlzFrameSetText:
native BlzFrameSetText takes framehandle frame, string text returns nothing
BlzFrameAddText:
native BlzFrameAddText takes framehandle frame, string text returns nothing
BlzFrameSetModel:
native BlzFrameSetModel takes framehandle frame, string modelFile, integer cameraIndex returns nothing
BlzFrameSetTexture:
native BlzFrameSetTexture takes framehandle frame, string texFile, integer flag, boolean blend returns nothing
BlzFrameSetFont:
native BlzFrameSetFont takes framehandle frame, string fileName, real height, integer flags returns nothing
BlzTriggerRegisterPlayerSyncEvent:
native BlzTriggerRegisterPlayerSyncEvent takes trigger whichTrigger, player whichPlayer, string prefix, boolean fromServer returns event
BlzSendSyncData:
native BlzSendSyncData takes string prefix, string data returns boolean
BlzChangeMinimapTerrainTex:
native BlzChangeMinimapTerrainTex takes string texFile returns boolean
BlzDisplayChatMessage:
native BlzDisplayChatMessage takes player whichPlayer, integer recipient, string message returns nothing
CreateCommandButtonEffect:
native CreateCommandButtonEffect takes integer abilityId, string order returns commandbuttoneffect
BlzSetAbilityStringField:
native BlzSetAbilityStringField takes ability whichAbility, abilitystringfield whichField, string value returns boolean
BlzSetAbilityStringLevelField:
native BlzSetAbilityStringLevelField takes ability whichAbility, abilitystringlevelfield whichField, integer level, string value returns boolean
BlzSetAbilityStringLevelArrayField:
native BlzSetAbilityStringLevelArrayField takes ability whichAbility, abilitystringlevelarrayfield whichField, integer level, integer index, string value returns boolean
BlzAddAbilityStringLevelArrayField:
native BlzAddAbilityStringLevelArrayField takes ability whichAbility, abilitystringlevelarrayfield whichField, integer level, string value returns boolean
BlzRemoveAbilityStringLevelArrayField:
native BlzRemoveAbilityStringLevelArrayField takes ability whichAbility, abilitystringlevelarrayfield whichField, integer level, string value returns boolean
BlzSetItemStringField:
native BlzSetItemStringField takes item whichItem, itemstringfield whichField, string value returns boolean
BlzSetUnitStringField:
native BlzSetUnitStringField takes unit whichUnit, unitstringfield whichField, string value returns boolean
BlzSetUnitWeaponStringField:
native BlzSetUnitWeaponStringField takes unit whichUnit, unitweaponstringfield whichField, integer index, string value returns boolean
blizzard.j
BJDebugMsg:
function BJDebugMsg takes string msg returns nothing
CommentString:
function CommentString takes string commentString returns nothing
StringIdentity:
function StringIdentity takes string theString returns string
PlaySound:
function PlaySound takes string soundName returns nothing
SetCinematicCameraForPlayer:
function SetCinematicCameraForPlayer takes player whichPlayer, string cameraModelFile returns nothing
DisplayTextToForce:
function DisplayTextToForce takes force toForce, string message returns nothing
DisplayTimedTextToForce:
function DisplayTimedTextToForce takes force toForce, real duration, string message returns nothing
SubStringBJ:
function SubStringBJ takes string source, integer start, integer end returns string
StringHashBJ:
function StringHashBJ takes string s returns integer
TriggerRegisterCommonCommandEventBJ:
function TriggerRegisterCommonCommandEventBJ takes trigger trig, string order returns event
AddLightningLoc:
function AddLightningLoc takes string codeName, location where1, location where2 returns lightning
SetDoodadAnimationBJ:
function SetDoodadAnimationBJ takes string animName, integer doodadID, real radius, location center returns nothing
SetDoodadAnimationRectBJ:
function SetDoodadAnimationRectBJ takes string animName, integer doodadID, rect r returns nothing
AddUnitAnimationPropertiesBJ:
function AddUnitAnimationPropertiesBJ takes boolean add, string animProperties, unit whichUnit returns nothing
CreateImageBJ:
function CreateImageBJ takes string file, real size, location where, real zOffset, integer imageType returns image
CreateUbersplatBJ:
function CreateUbersplatBJ takes location where, string name, real red, real green, real blue, real alpha, boolean forcePaused, boolean noBirthTime returns ubersplat
CreateMinimapIconOnUnitBJ:
function CreateMinimapIconOnUnitBJ takes unit whichUnit, integer red, integer green, integer blue, string pingPath, fogstate fogVisibility returns minimapicon
CreateMinimapIconAtLocBJ:
function CreateMinimapIconAtLocBJ takes location where, integer red, integer green, integer blue, string pingPath, fogstate fogVisibility returns minimapicon
CreateMinimapIconBJ:
function CreateMinimapIconBJ takes real x, real y, integer red, integer green, integer blue, string pingPath, fogstate fogVisibility returns minimapicon
PlayMusicBJ:
function PlayMusicBJ takes string musicFileName returns nothing
PlayMusicExBJ:
function PlayMusicExBJ takes string musicFileName, real startingOffset, real fadeInTime returns nothing
PlayThematicMusicBJ:
function PlayThematicMusicBJ takes string musicName returns nothing
PlayThematicMusicExBJ:
function PlayThematicMusicExBJ takes string musicName, real startingOffset returns nothing
GetSoundFileDurationBJ:
function GetSoundFileDurationBJ takes string musicFileName returns real
SetMapMusicIndexedBJ:
function SetMapMusicIndexedBJ takes string musicName, integer index returns nothing
SetMapMusicRandomBJ:
function SetMapMusicRandomBJ takes string musicName returns nothing
SetAmbientDaySound:
function SetAmbientDaySound takes string inLabel returns nothing
SetAmbientNightSound:
function SetAmbientNightSound takes string inLabel returns nothing
AddSpecialEffectLocBJ:
function AddSpecialEffectLocBJ takes location where, string modelName returns effect
AddSpecialEffectTargetUnitBJ:
function AddSpecialEffectTargetUnitBJ takes string attachPointName, widget targetWidget, string modelName returns effect
CreateCommandButtonEffectBJ:
function CreateCommandButtonEffectBJ takes integer abilityId, string order returns commandbuttoneffect
CreateCommonCommandButtonEffectBJ:
function CreateCommonCommandButtonEffectBJ takes string order returns commandbuttoneffect
String2UnitIdBJ:
function String2UnitIdBJ takes string unitIdString returns integer
String2OrderIdBJ:
function String2OrderIdBJ takes string orderIdString returns integer
ForceUIKeyBJ:
function ForceUIKeyBJ takes player whichPlayer, string key returns nothing
QueueUnitAnimationBJ:
function QueueUnitAnimationBJ takes unit whichUnit, string whichAnimation returns nothing
SetDestructableAnimationBJ:
function SetDestructableAnimationBJ takes destructable d, string whichAnimation returns nothing
QueueDestructableAnimationBJ:
function QueueDestructableAnimationBJ takes destructable d, string whichAnimation returns nothing
DialogSetMessageBJ:
function DialogSetMessageBJ takes dialog whichDialog, string message returns nothing
DialogAddButtonBJ:
function DialogAddButtonBJ takes dialog whichDialog, string buttonText returns button
DialogAddButtonWithHotkeyBJ:
function DialogAddButtonWithHotkeyBJ takes dialog whichDialog, string buttonText, integer hotkey returns button
CustomDefeatDialogBJ:
function CustomDefeatDialogBJ takes player whichPlayer, string message returns nothing
CustomDefeatBJ:
function CustomDefeatBJ takes player whichPlayer, string message returns nothing
SetNextLevelBJ:
function SetNextLevelBJ takes string nextLevel returns nothing
CreateQuestBJ:
function CreateQuestBJ takes integer questType, string title, string description, string iconPath returns quest
QuestSetTitleBJ:
function QuestSetTitleBJ takes quest whichQuest, string title returns nothing
QuestSetDescriptionBJ:
function QuestSetDescriptionBJ takes quest whichQuest, string description returns nothing
CreateQuestItemBJ:
function CreateQuestItemBJ takes quest whichQuest, string description returns questitem
QuestItemSetDescriptionBJ:
function QuestItemSetDescriptionBJ takes questitem whichQuestItem, string description returns nothing
CreateDefeatConditionBJ:
function CreateDefeatConditionBJ takes string description returns defeatcondition
DefeatConditionSetDescriptionBJ:
function DefeatConditionSetDescriptionBJ takes defeatcondition whichCondition, string description returns nothing
QuestMessageBJ:
function QuestMessageBJ takes force f, integer messageType, string message returns nothing
CreateTimerDialogBJ:
function CreateTimerDialogBJ takes timer t, string title returns timerdialog
TimerDialogSetTitleBJ:
function TimerDialogSetTitleBJ takes timerdialog td, string title returns nothing
LeaderboardSetPlayerItemLabelBJ:
function LeaderboardSetPlayerItemLabelBJ takes player whichPlayer, leaderboard lb, string val returns nothing
LeaderboardSetLabelBJ:
function LeaderboardSetLabelBJ takes leaderboard lb, string label returns nothing
CreateLeaderboardBJ:
function CreateLeaderboardBJ takes force toForce, string label returns leaderboard
LeaderboardAddItemBJ:
function LeaderboardAddItemBJ takes player whichPlayer, leaderboard lb, string label, integer value returns nothing
CreateMultiboardBJ:
function CreateMultiboardBJ takes integer cols, integer rows, string title returns multiboard
MultiboardSetItemValueBJ:
function MultiboardSetItemValueBJ takes multiboard mb, integer col, integer row, string val returns nothing
MultiboardSetItemIconBJ:
function MultiboardSetItemIconBJ takes multiboard mb, integer col, integer row, string iconFileName returns nothing
SetTextTagTextBJ:
function SetTextTagTextBJ takes texttag tt, string s, real size returns nothing
CreateTextTagLocBJ:
function CreateTextTagLocBJ takes string s, location loc, real zOffset, real size, real red, real green, real blue, real transparency returns texttag
CreateTextTagUnitBJ:
function CreateTextTagUnitBJ takes string s, unit whichUnit, real zOffset, real size, real red, real green, real blue, real transparency returns texttag
SetCinematicSceneBJ:
function SetCinematicSceneBJ takes sound soundHandle, integer portraitUnitId, playercolor color, string speakerTitle, string text, real sceneDuration, real voiceoverDuration returns nothing
DoTransmissionBasicsXYBJ:
function DoTransmissionBasicsXYBJ takes integer unitId, playercolor color, real x, real y, sound soundHandle, string unitName, string message, real duration returns nothing
TransmissionFromUnitWithNameBJ:
function TransmissionFromUnitWithNameBJ takes force toForce, unit whichUnit, string unitName, sound soundHandle, string message, integer timeType, real timeVal, boolean wait returns nothing
TransmissionFromUnitTypeWithNameBJ:
function TransmissionFromUnitTypeWithNameBJ takes force toForce, player fromPlayer, integer unitId, string unitName, location loc, sound soundHandle, string message, integer timeType, real timeVal, boolean wait returns nothing
CinematicFadeCommonBJ:
function CinematicFadeCommonBJ takes real red, real green, real blue, real duration, string tex, real startTrans, real endTrans returns nothing
ContinueCinematicFadeAfterBJ:
function ContinueCinematicFadeAfterBJ takes real duration, real red, real green, real blue, real trans, string tex returns nothing
CinematicFadeBJ:
function CinematicFadeBJ takes integer fadetype, real duration, string tex, real red, real green, real blue, real trans returns nothing
CinematicFilterGenericBJ:
function CinematicFilterGenericBJ takes real duration, blendmode bmode, string tex, real red0, real green0, real blue0, real trans0, real red1, real green1, real blue1, real trans1 returns nothing
InitGameCacheBJ:
function InitGameCacheBJ takes string campaignFile returns gamecache
StoreRealBJ:
function StoreRealBJ takes real value, string key, string missionKey, gamecache cache returns nothing
StoreIntegerBJ:
function StoreIntegerBJ takes integer value, string key, string missionKey, gamecache cache returns nothing
StoreBooleanBJ:
function StoreBooleanBJ takes boolean value, string key, string missionKey, gamecache cache returns nothing
StoreStringBJ:
function StoreStringBJ takes string value, string key, string missionKey, gamecache cache returns boolean
StoreUnitBJ:
function StoreUnitBJ takes unit whichUnit, string key, string missionKey, gamecache cache returns boolean
SaveStringBJ:
function SaveStringBJ takes string value, integer key, integer missionKey, hashtable table returns boolean
GetStoredRealBJ:
function GetStoredRealBJ takes string key, string missionKey, gamecache cache returns real
GetStoredIntegerBJ:
function GetStoredIntegerBJ takes string key, string missionKey, gamecache cache returns integer
GetStoredBooleanBJ:
function GetStoredBooleanBJ takes string key, string missionKey, gamecache cache returns boolean
GetStoredStringBJ:
function GetStoredStringBJ takes string key, string missionKey, gamecache cache returns string
RestoreUnitLocFacingAngleBJ:
function RestoreUnitLocFacingAngleBJ takes string key, string missionKey, gamecache cache, player forWhichPlayer, location loc, real facing returns unit
RestoreUnitLocFacingPointBJ:
function RestoreUnitLocFacingPointBJ takes string key, string missionKey, gamecache cache, player forWhichPlayer, location loc, location lookAt returns unit
FlushStoredMissionBJ:
function FlushStoredMissionBJ takes string missionKey, gamecache cache returns nothing
HaveStoredValue:
function HaveStoredValue takes string key, integer valueType, string missionKey, gamecache cache returns boolean
SaveGameCheckPointBJ:
function SaveGameCheckPointBJ takes string mapSaveName, boolean doCheckpointHint returns nothing
LoadGameBJ:
function LoadGameBJ takes string loadFileName, boolean doScoreScreen returns nothing
SaveAndChangeLevelBJ:
function SaveAndChangeLevelBJ takes string saveFileName, string newLevel, boolean doScoreScreen returns nothing
SaveAndLoadGameBJ:
function SaveAndLoadGameBJ takes string saveFileName, string loadFileName, boolean doScoreScreen returns nothing
RenameSaveDirectoryBJ:
function RenameSaveDirectoryBJ takes string sourceDirName, string destDirName returns boolean
RemoveSaveDirectoryBJ:
function RemoveSaveDirectoryBJ takes string sourceDirName returns boolean
CopySaveGameBJ:
function CopySaveGameBJ takes string sourceSaveName, string destSaveName returns boolean
IssueTargetOrderBJ:
function IssueTargetOrderBJ takes unit whichUnit, string order, widget targetWidget returns boolean
IssuePointOrderLocBJ:
function IssuePointOrderLocBJ takes unit whichUnit, string order, location whichLocation returns boolean
IssueTargetDestructableOrder:
function IssueTargetDestructableOrder takes unit whichUnit, string order, widget targetWidget returns boolean
IssueTargetItemOrder:
function IssueTargetItemOrder takes unit whichUnit, string order, widget targetWidget returns boolean
IssueImmediateOrderBJ:
function IssueImmediateOrderBJ takes unit whichUnit, string order returns boolean
GroupTargetOrderBJ:
function GroupTargetOrderBJ takes group whichGroup, string order, widget targetWidget returns boolean
GroupPointOrderLocBJ:
function GroupPointOrderLocBJ takes group whichGroup, string order, location whichLocation returns boolean
GroupImmediateOrderBJ:
function GroupImmediateOrderBJ takes group whichGroup, string order returns boolean
GroupTargetDestructableOrder:
function GroupTargetDestructableOrder takes group whichGroup, string order, widget targetWidget returns boolean
GroupTargetItemOrder:
function GroupTargetItemOrder takes group whichGroup, string order, widget targetWidget returns boolean
PickMeleeAI:
function PickMeleeAI takes player num, string s1, string s2, string s3 returns nothing
BlzSetAbilityStringFieldBJ:
function BlzSetAbilityStringFieldBJ takes ability whichAbility, abilitystringfield whichField, string value returns nothing
BlzSetAbilityStringLevelFieldBJ:
function BlzSetAbilityStringLevelFieldBJ takes ability whichAbility, abilitystringlevelfield whichField, integer level, string value returns nothing
BlzSetAbilityStringLevelArrayFieldBJ:
function BlzSetAbilityStringLevelArrayFieldBJ takes ability whichAbility, abilitystringlevelarrayfield whichField, integer level, integer index, string value returns nothing
BlzAddAbilityStringLevelArrayFieldBJ:
function BlzAddAbilityStringLevelArrayFieldBJ takes ability whichAbility, abilitystringlevelarrayfield whichField, integer level, string value returns nothing
BlzRemoveAbilityStringLevelArrayFieldBJ:
function BlzRemoveAbilityStringLevelArrayFieldBJ takes ability whichAbility, abilitystringlevelarrayfield whichField, integer level, string value returns nothing
BlzSetItemStringFieldBJ:
function BlzSetItemStringFieldBJ takes item whichItem, itemstringfield whichField, string value returns nothing
BlzSetUnitStringFieldBJ:
function BlzSetUnitStringFieldBJ takes unit whichUnit, unitstringfield whichField, string value returns nothing
BlzSetUnitWeaponStringFieldBJ:
function BlzSetUnitWeaponStringFieldBJ takes unit whichUnit, unitweaponstringfield whichField, integer index, string value returns nothing
common.ai
DebugS:
native DebugS takes string str returns nothing
DebugFI:
native DebugFI takes string str, integer val returns nothing
DebugUnitID:
native DebugUnitID takes string str, integer val returns nothing
DisplayText:
native DisplayText takes integer p, string str returns nothing
DisplayTextI:
native DisplayTextI takes integer p, string str, integer val returns nothing
DisplayTextII:
native DisplayTextII takes integer p, string str, integer v1, integer v2 returns nothing
DisplayTextIII:
native DisplayTextIII takes integer p, string str, integer v1, integer v2, integer v3 returns nothing
Trace:
function Trace takes string message returns nothing
TraceI:
function TraceI takes string message, integer val returns nothing
TraceII:
function TraceII takes string message, integer v1, integer v2 returns nothing
TraceIII:
function TraceIII takes string message, integer v1, integer v2, integer v3 returns nothing

Functions that returns type string

common.j
OrderId2String:
constant native OrderId2String takes integer orderId returns string
UnitId2String:
constant native UnitId2String takes integer unitId returns string
AbilityId2String:
constant native AbilityId2String takes integer abilityId returns string
GetObjectName:
constant native GetObjectName takes integer objectId returns string
I2S:
native I2S takes integer i returns string
R2S:
native R2S takes real r returns string
R2SW:
native R2SW takes real r, integer width, integer precision returns string
GetPlayerName:
native GetPlayerName takes player whichPlayer returns string
GetSaveBasicFilename:
constant native GetSaveBasicFilename takes nothing returns string
GetEventPlayerChatString:
constant native GetEventPlayerChatString takes nothing returns string
GetEventPlayerChatStringMatched:
constant native GetEventPlayerChatStringMatched takes nothing returns string
GetDestructableName:
native GetDestructableName takes destructable d returns string
GetItemName:
constant native GetItemName takes item whichItem returns string
GetHeroProperName:
native GetHeroProperName takes unit whichHero returns string
GetUnitName:
constant native GetUnitName takes unit whichUnit returns string
LoadStr:
native LoadStr takes hashtable table, integer parentKey, integer childKey returns string
LeaderboardGetLabelText:
native LeaderboardGetLabelText takes leaderboard lb returns string
MultiboardGetTitleText:
native MultiboardGetTitleText takes multiboard lb returns string
BlzCameraSetupGetLabel:
native BlzCameraSetupGetLabel takes camerasetup whichSetup returns string
GetDialogueSpeakerNameKey:
native GetDialogueSpeakerNameKey takes sound soundHandle returns string
GetDialogueTextKey:
native GetDialogueTextKey takes sound soundHandle returns string
GetAbilityEffectById:
native GetAbilityEffectById takes integer abilityId, effecttype t, integer index returns string
GetAbilitySoundById:
native GetAbilitySoundById takes integer abilityId, soundtype t returns string
BlzGetAbilityTooltip:
native BlzGetAbilityTooltip takes integer abilCode, integer level returns string
BlzGetAbilityActivatedTooltip:
native BlzGetAbilityActivatedTooltip takes integer abilCode, integer level returns string
BlzGetAbilityExtendedTooltip:
native BlzGetAbilityExtendedTooltip takes integer abilCode, integer level returns string
BlzGetAbilityActivatedExtendedTooltip:
native BlzGetAbilityActivatedExtendedTooltip takes integer abilCode, integer level returns string
BlzGetAbilityResearchTooltip:
native BlzGetAbilityResearchTooltip takes integer abilCode, integer level returns string
BlzGetAbilityResearchExtendedTooltip:
native BlzGetAbilityResearchExtendedTooltip takes integer abilCode, integer level returns string
BlzGetAbilityIcon:
native BlzGetAbilityIcon takes integer abilCode returns string
BlzGetAbilityActivatedIcon:
native BlzGetAbilityActivatedIcon takes integer abilCode returns string
BlzGetItemDescription:
native BlzGetItemDescription takes item whichItem returns string
BlzGetItemTooltip:
native BlzGetItemTooltip takes item whichItem returns string
BlzGetItemExtendedTooltip:
native BlzGetItemExtendedTooltip takes item whichItem returns string
BlzGetItemIconPath:
native BlzGetItemIconPath takes item whichItem returns string
BlzGetAnimName:
native BlzGetAnimName takes animtype whichAnim returns string
BlzFrameGetName:
native BlzFrameGetName takes framehandle frame returns string
BlzFrameGetText:
native BlzFrameGetText takes framehandle frame returns string
BlzGetTriggerFrameText:
native BlzGetTriggerFrameText takes nothing returns string
BlzGetTriggerSyncPrefix:
native BlzGetTriggerSyncPrefix takes nothing returns string
BlzGetTriggerSyncData:
native BlzGetTriggerSyncData takes nothing returns string
BlzGetLocale:
native BlzGetLocale takes nothing returns string
BlzGetAbilityStringField:
native BlzGetAbilityStringField takes ability whichAbility, abilitystringfield whichField returns string
BlzGetAbilityStringLevelField:
native BlzGetAbilityStringLevelField takes ability whichAbility, abilitystringlevelfield whichField, integer level returns string
BlzGetAbilityStringLevelArrayField:
native BlzGetAbilityStringLevelArrayField takes ability whichAbility, abilitystringlevelarrayfield whichField, integer level, integer index returns string
BlzGetItemStringField:
native BlzGetItemStringField takes item whichItem, itemstringfield whichField returns string
BlzGetUnitStringField:
native BlzGetUnitStringField takes unit whichUnit, unitstringfield whichField returns string
BlzGetUnitWeaponStringField:
native BlzGetUnitWeaponStringField takes unit whichUnit, unitweaponstringfield whichField, integer index returns string
blizzard.j
GetAbilityEffectBJ:
function GetAbilityEffectBJ takes integer abilcode, effecttype t, integer index returns string
GetAbilitySoundBJ:
function GetAbilitySoundBJ takes integer abilcode, soundtype t returns string
GetLastPlayedMusic:
function GetLastPlayedMusic takes nothing returns string
UnitId2StringBJ:
function UnitId2StringBJ takes integer unitId returns string
OrderId2StringBJ:
function OrderId2StringBJ takes integer orderId returns string
LoadStringBJ:
function LoadStringBJ takes integer key, integer missionKey, hashtable table returns string
GetAbilityName:
function GetAbilityName takes integer abilcode returns string
MeleeGetCrippledWarningMessage:
function MeleeGetCrippledWarningMessage takes player whichPlayer returns string
MeleeGetCrippledTimerMessage:
function MeleeGetCrippledTimerMessage takes player whichPlayer returns string
MeleeGetCrippledRevealedMessage:
function MeleeGetCrippledRevealedMessage takes player whichPlayer returns string

Global variables of type string

blizzard.j
bj_cineFadeContinueTex, bj_changeLevelMapName, bj_lastPlayedMusic
Page loaded in 0.1746 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...