# Word Of String
Grammar — Word index of string
Flags —Native
|Function
Returns the indexed word from a string. Words are considered to be separated by whitespace. Returns “No String” if the requested index is beyond the number of words in the given string.
# Arguments
string
— Stringint
— Index
Returns — string
native string StringWord(string s, int index);
# Related
Category: String / Substrings
- Word Of String —
string
— StringWord - Substring —
string
— StringSub - Position Of Substring —
int
— StringFind - String Containment —
bool
— StringContains - String With Indexed Replacement —
string
— StringReplace - String With Search Replacement —
string
— StringReplaceWord - Text With Search Replacement —
text
— TextReplaceWord
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4305
}
if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4455
}
gf_AddScore(StringToInt(StringWord(EventChatMessage(false), 2)));
gf_UpdateUI();
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18661
}
if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18675
gf_PauseNewItemInfo(true);
libCamp_gf_HideStoryUI(false, true);
auto4314B998_val = StringWord(EventChatMessage(false), 2);
if (auto4314B998_val == "hanson") {
gf_GoToRoom(ge_RoomID_RoomBridge, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18687
else {
}
auto4089DBAB_val = StringWord(EventChatMessage(false), 2);
if (auto4089DBAB_val == "hanson") {
TriggerExecute(gt_ABChoiceTHanson03, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18968
}
gv_idleFidgetStartTime = StringToFixed(StringWord(EventChatMessage(false), 2));
gv_idleFidgetRepeatTime = StringToFixed(StringWord(EventChatMessage(false), 3));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, (StringExternal("Param/Value/A1191FC4") + FixedToText(gv_idleFidgetStartTime, 1) + StringExternal("Param/Value/48AD46C5") + FixedToText(gv_idleFidgetRepeatTime, 1)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18969
gv_idleFidgetStartTime = StringToFixed(StringWord(EventChatMessage(false), 2));
gv_idleFidgetRepeatTime = StringToFixed(StringWord(EventChatMessage(false), 3));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, (StringExternal("Param/Value/A1191FC4") + FixedToText(gv_idleFidgetStartTime, 1) + StringExternal("Param/Value/48AD46C5") + FixedToText(gv_idleFidgetRepeatTime, 1)));
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19082
}
if (!((StringWord(EventChatMessage(false), 1) == EventChatMessage(true)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19092
}
lv_roomname = StringWord(EventChatMessage(false), 2);
lv_name = StringWord(EventChatMessage(false), 3);
if ((StringContains(lv_roomname, "Armory", c_stringAnywhere, c_stringNoCase) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19093
lv_roomname = StringWord(EventChatMessage(false), 2);
lv_name = StringWord(EventChatMessage(false), 3);
if ((StringContains(lv_roomname, "Armory", c_stringAnywhere, c_stringNoCase) == true)) {
lv_room = ge_RoomID_RoomArmory;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19464
}
if (!((StringWord(EventChatMessage(false), 1) == EventChatMessage(true)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19482
}
DialogSetSize(gv_debugDialogForSizePos, StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:4305
}
if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:4455
}
gf_AddScore(StringToInt(StringWord(EventChatMessage(false), 2)));
gf_UpdateUI();
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:18661
}
if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:18675
gf_PauseNewItemInfo(true);
libCamp_gf_HideStoryUI(false, true);
auto4314B998_val = StringWord(EventChatMessage(false), 2);
if (auto4314B998_val == "hanson") {
gf_GoToRoom(ge_RoomID_RoomBridge, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:18687
else {
}
auto4089DBAB_val = StringWord(EventChatMessage(false), 2);
if (auto4089DBAB_val == "hanson") {
TriggerExecute(gt_ABChoiceTHanson03, true, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:18968
}
gv_idleFidgetStartTime = StringToFixed(StringWord(EventChatMessage(false), 2));
gv_idleFidgetRepeatTime = StringToFixed(StringWord(EventChatMessage(false), 3));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, (StringExternal("Param/Value/A1191FC4") + FixedToText(gv_idleFidgetStartTime, 1) + StringExternal("Param/Value/48AD46C5") + FixedToText(gv_idleFidgetRepeatTime, 1)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:18969
gv_idleFidgetStartTime = StringToFixed(StringWord(EventChatMessage(false), 2));
gv_idleFidgetRepeatTime = StringToFixed(StringWord(EventChatMessage(false), 3));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, (StringExternal("Param/Value/A1191FC4") + FixedToText(gv_idleFidgetStartTime, 1) + StringExternal("Param/Value/48AD46C5") + FixedToText(gv_idleFidgetRepeatTime, 1)));
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19082
}
if (!((StringWord(EventChatMessage(false), 1) == EventChatMessage(true)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19092
}
lv_roomname = StringWord(EventChatMessage(false), 2);
lv_name = StringWord(EventChatMessage(false), 3);
if ((StringContains(lv_roomname, "Armory", c_stringAnywhere, c_stringNoCase) == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19093
lv_roomname = StringWord(EventChatMessage(false), 2);
lv_name = StringWord(EventChatMessage(false), 3);
if ((StringContains(lv_roomname, "Armory", c_stringAnywhere, c_stringNoCase) == true)) {
lv_room = ge_RoomID_RoomArmory;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19464
}
if (!((StringWord(EventChatMessage(false), 1) == EventChatMessage(true)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19482
}
DialogSetSize(gv_debugDialogForSizePos, StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
return true;
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:9715
while (true) {
libCamp_gv_tS_StoryRoomUnitTypeCount[lv_roomIndex] += 1;
lv_item = StringWord(lp_roomUnitString, libCamp_gv_tS_StoryRoomUnitTypeCount[lv_roomIndex]);
if ((lv_item == null)) {
libCamp_gv_tS_StoryRoomUnitTypeCount[lv_roomIndex] -= 1;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1780
}
if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1790
}
lv_experienceGained = StringToInt(StringWord(EventChatMessage(false), 2));
gf_RewardExperience(lv_experienceGained);
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:1780
}
if (!((StringEqual(StringWord(EventChatMessage(false), 1), EventChatMessage(true), c_stringNoCase) == true))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:1790
}
lv_experienceGained = StringToInt(StringWord(EventChatMessage(false), 2));
gf_RewardExperience(lv_experienceGained);
return true;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13225
}
lv_offsetX = StringToInt(StringWord(lv_offsetString, 1));
lv_offsetY = StringToInt(StringWord(lv_offsetString, 2));
lv_offsetY += 240;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13226
lv_offsetX = StringToInt(StringWord(lv_offsetString, 1));
lv_offsetY = StringToInt(StringWord(lv_offsetString, 2));
lv_offsetY += 240;
lv_offsetX += 130;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23536
}
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23537
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23537
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23538
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23538
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23638
// Variable Initialization
lv_name = StringWord(EventChatMessage(false), 2);
// Conditions
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23678
// Automatic Variable Declarations
// Variable Initialization
lv_time = FixedToInt((StringToFixed(StringWord(EventChatMessage(false), 2)) * 1000.0));
// Conditions
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:8266
}
if ((StringWord(EventChatMessage(false), 2) == "on")) {
lib281DEC45_gf_ZSS_LightSetPrimaryPlay();
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6877
}
lv_offsetX = StringToInt(StringWord(lv_offsetString, 1));
lv_offsetY = StringToInt(StringWord(lv_offsetString, 2));
lv_offsetY += 240;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6878
lv_offsetX = StringToInt(StringWord(lv_offsetString, 1));
lv_offsetY = StringToInt(StringWord(lv_offsetString, 2));
lv_offsetY += 240;
lv_offsetX += 130;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10031
}
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10032
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10032
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10033
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10033
lv_file = ("Cutscenes/" + StringWord(EventChatMessage(false), 2) + ".SC2Cutscene");
if ((StringWord(EventChatMessage(false), 3) != null) && (StringWord(EventChatMessage(false), 4) != null)) {
lv_position = Point(StringToFixed(StringWord(EventChatMessage(false), 3)), StringToFixed(StringWord(EventChatMessage(false), 4)));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10133
// Variable Initialization
lv_name = StringWord(EventChatMessage(false), 2);
// Conditions
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10173
// Automatic Variable Declarations
// Variable Initialization
lv_time = FixedToInt((StringToFixed(StringWord(EventChatMessage(false), 2)) * 1000.0));
// Conditions
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6564
lv_iter = 1;
for ( ; ( (autoB629ABE7_ai >= 0 && lv_iter <= autoB629ABE7_ae) || (autoB629ABE7_ai < 0 && lv_iter >= autoB629ABE7_ae) ) ; lv_iter += autoB629ABE7_ai ) {
if ((StringCase(libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_titleString, false) == StringCase(StringWord(EventChatMessage(false), 1), false))) {
if ((libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_uIType == libVCMI_ge_MissionCheatUIType_ButtonEditBoxCombo)) {
DataTableSetString(true, ("PS_" + TriggerGetFunction(libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_trigger)), StringWord(EventChatMessage(false), 2));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6566
if ((StringCase(libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_titleString, false) == StringCase(StringWord(EventChatMessage(false), 1), false))) {
if ((libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_uIType == libVCMI_ge_MissionCheatUIType_ButtonEditBoxCombo)) {
DataTableSetString(true, ("PS_" + TriggerGetFunction(libVCMI_gv_pM_MissionCheat_Cheats[lv_iter].lv_trigger)), StringWord(EventChatMessage(false), 2));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:6731
}
libVCMI_gf_SetSpearofAdunEnergy(StringToFixed(StringWord(EventChatMessage(false), 2)), libVCMI_ge_SpearofAdunEnergyType_Percent);
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6059
}
if ((StringWord(EventChatMessage(false), 3) == "0")) {
lv_duration = c_transitionDurationImmediate;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6065
lv_duration = c_transitionDurationDefault;
}
autoFECC37CE_val = StringWord(EventChatMessage(false), 2);
if (autoFECC37CE_val == "full") {
libVCMI_gf_SetScreenModeCampaign(c_uiModeFullscreen, lv_duration);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6110
}
if ((StringWord(EventChatMessage(false), 3) == "0")) {
lv_duration = c_transitionDurationImmediate;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6116
lv_duration = c_transitionDurationDefault;
}
autoFD84E73E_val = StringWord(EventChatMessage(false), 2);
if (autoFD84E73E_val == "on") {
libVCMI_gf_CinematicModeCampaign(true, lv_duration, true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9450
}
libVCUI_gv_pUC_HEROUIBARWIDTH = StringToInt(StringWord(EventChatMessage(false), 2));
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9477
}
libVCUI_gv_pUC_HEROUILIFEBARHEIGHT = StringToInt(StringWord(EventChatMessage(false), 2));
libVCUI_gf_PU_UpdateHeroPanel(1);
libVCUI_gf_PU_UpdateHeroPanel(2);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9506
}
libVCUI_gv_pUC_HEROUISHIELDBARHEIGHT = StringToInt(StringWord(EventChatMessage(false), 2));
libVCUI_gf_PU_UpdateHeroPanel(1);
libVCUI_gf_PU_UpdateHeroPanel(2);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9535
}
libVCUI_gv_pUC_HEROUIENERGYBARHEIGHT = StringToInt(StringWord(EventChatMessage(false), 2));
libVCUI_gf_PU_UpdateHeroPanel(1);
libVCUI_gf_PU_UpdateHeroPanel(2);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:88
bool DebugMeleeTrigger (bool c, bool a) {
if (a) {
DebugMelee(StringToInt(StringWord(EventChatMessage(false), 2)));
}
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2231
// Automatic Variable Declarations
// Implementation
return libNtve_gf_PointFacingAngle(Point(StringToFixed(StringWord(lp_value, 1)), StringToFixed(StringWord(lp_value, 2))), StringToFixed(StringWord(lp_value, 3)));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2231
// Automatic Variable Declarations
// Implementation
return libNtve_gf_PointFacingAngle(Point(StringToFixed(StringWord(lp_value, 1)), StringToFixed(StringWord(lp_value, 2))), StringToFixed(StringWord(lp_value, 3)));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2231
// Automatic Variable Declarations
// Implementation
return libNtve_gf_PointFacingAngle(Point(StringToFixed(StringWord(lp_value, 1)), StringToFixed(StringWord(lp_value, 2))), StringToFixed(StringWord(lp_value, 3)));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:5546
lv_newTargetFilterString = StringReplaceWord(lp_targetFilterString, ",", " ", 0, c_stringCase);
lv_newTargetFilterString = StringReplaceWord(lv_newTargetFilterString, ";", " DIV ", 0, c_stringCase);
lv_wordOfFilterString = StringWord(lv_newTargetFilterString, 1);
while ((lv_wordOfFilterString != "")) {
if ((lv_wordOfFilterString == "DIV")) {
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:5720
}
lv_wordIndex += 1;
lv_wordOfFilterString = StringWord(lv_newTargetFilterString, lv_wordIndex);
}
return lv_unitFilter;
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1915
// Automatic Variable Declarations
// Implementation
return libNtve_gf_PointFacingAngle(Point(StringToFixed(StringWord(lp_value, 1)), StringToFixed(StringWord(lp_value, 2))), StringToFixed(StringWord(lp_value, 3)));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1915
// Automatic Variable Declarations
// Implementation
return libNtve_gf_PointFacingAngle(Point(StringToFixed(StringWord(lp_value, 1)), StringToFixed(StringWord(lp_value, 2))), StringToFixed(StringWord(lp_value, 3)));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1915
// Automatic Variable Declarations
// Implementation
return libNtve_gf_PointFacingAngle(Point(StringToFixed(StringWord(lp_value, 1)), StringToFixed(StringWord(lp_value, 2))), StringToFixed(StringWord(lp_value, 3)));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4738
lv_newTargetFilterString = StringReplaceWord(lp_targetFilterString, ",", " ", 0, c_stringCase);
lv_newTargetFilterString = StringReplaceWord(lv_newTargetFilterString, ";", " DIV ", 0, c_stringCase);
lv_wordOfFilterString = StringWord(lv_newTargetFilterString, 1);
while ((lv_wordOfFilterString != "")) {
if ((lv_wordOfFilterString == "DIV")) {
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4870
}
lv_wordIndex += 1;
lv_wordOfFilterString = StringWord(lv_newTargetFilterString, lv_wordIndex);
}
return lv_unitFilter;
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:2346
}
libAMPU_gf_ARMPunisherGainScore(StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)), UnitGetPosition(libGame_gv_players[1].lv_heroUnit));
return true;
}
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:2346
}
libAMPU_gf_ARMPunisherGainScore(StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)), UnitGetPosition(libGame_gv_players[1].lv_heroUnit));
return true;
}
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:2396
// Conditions
if (testConds) {
if (!(((StringWord(EventChatMessage(false), 2) == "1") || (StringWord(EventChatMessage(false), 2) == "2")))) {
return false;
}
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:2396
// Conditions
if (testConds) {
if (!(((StringWord(EventChatMessage(false), 2) == "1") || (StringWord(EventChatMessage(false), 2) == "2")))) {
return false;
}
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:2410
}
libAMPU_gf_ARMPunisherSetTeamScore(StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
return true;
}
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:2410
}
libAMPU_gf_ARMPunisherSetTeamScore(StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
return true;
}
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:3730
}
libAtDe_gf_SendEventAttackDefendRoundEnds(StringToInt(StringWord(EventChatMessage(false), 2)));
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:12591
TriggerStop(libPEB1_gt_ArchangelSpawn1);
lv_type = StringToInt(StringWord(EventChatMessage(false), 2));
auto5796C558_val = lv_type;
if (auto5796C558_val == 1) {
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:12799
libPVEM_gv_pvEDefeatDisabled = false;
if ((StringToInt(StringWord(EventChatMessage(false), 2)) == 0)) {
libPEB1_gv_defeatReason = libPEB1_ge_DefeatReason_AllHeroesSlain;
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:3186
}
lv_specialItem = (StringWord(EventChatMessage(false), 2));
lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:3187
lv_specialItem = (StringWord(EventChatMessage(false), 2));
lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
lv_polarOffset = (360.0 / (lv_itemsToSpawn + 1.0));
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:3188
lv_specialItem = (StringWord(EventChatMessage(false), 2));
lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
lv_polarOffset = (360.0 / (lv_itemsToSpawn + 1.0));
lv_currentRollover = libPVEB_gv_pvEPickupRolloverRotationStep;
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmod — base.stormdata/LibPBUI.galaxy:1673
}
libPBUI_gf_CurateHSUISelectHeroforPlayer(2, StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmod — base.stormdata/LibPBUI.galaxy:1673
}
libPBUI_gf_CurateHSUISelectHeroforPlayer(2, StringToInt(StringWord(EventChatMessage(false), 2)), StringToInt(StringWord(EventChatMessage(false), 3)));
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmod — base.stormdata/LibPBUI.galaxy:1700
}
if ((StringWord(EventChatMessage(false), 2) == "1")) {
libPBUI_gf_CurateHSUILockUnlockHeroChoice(2, true);
}
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:3247
}
lv_specialItem = (StringWord(EventChatMessage(false), 2));
lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:3248
lv_specialItem = (StringWord(EventChatMessage(false), 2));
lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
lv_polarOffset = (360.0 / (lv_itemsToSpawn + 1.0));
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:3249
lv_specialItem = (StringWord(EventChatMessage(false), 2));
lv_itemsToSpawn = StringToInt(StringWord(EventChatMessage(false), 3));
lv_tempRollover = StringToInt(StringWord(EventChatMessage(false), 4));
lv_polarOffset = (360.0 / (lv_itemsToSpawn + 1.0));
lv_currentRollover = libPVEM_gv_pvEPickupsRolloverRotationStep;
mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod — base.stormdata/LibMHPP.galaxy:2138
TimerStart(libGame_gv_openTheGatesTimer, 0.0, false, c_timeGame);
if ((StringWord(EventChatMessage(false), 2) == "infinite")) {
TimerStart(libMHPP_gv_mHPP_DefenseTimeToWinTimer, c_timerDurationInfinite, false, c_timeGame);
}
mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod — base.stormdata/LibMHPP.galaxy:2142
}
else {
TimerStart(libMHPP_gv_mHPP_DefenseTimeToWinTimer, StringToFixed(StringWord(EventChatMessage(false), 2)), false, c_timeGame);
}
return true;
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:2071
libCore_gf_DataClearHeroDataAtIndex(EventPlayer());
libCore_gf_DataClearSkinDataAtIndex(EventPlayer());
autoA100EE7C_val = StringWord(EventChatMessage(false), 2);
if (autoA100EE7C_val == "Chen") {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero("Chen"), libCore_gf_DataSkinsGetSkinIndexFromSkinLink("ChenLunar"), libCore_gf_DataMountGetMountIndexFromMountLink("LunarFestivalRocket"), 0.0, EventPlayer(), EventPlayer());
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:3173
}
lv_player = StringToInt(StringWord(EventChatMessage(false), 2));
lv_buildNumber = StringToInt(StringWord(EventChatMessage(false), 3));
libAIAI_gv_aIHeroes[lv_player].lv_pickedTalentBuild = lv_buildNumber;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:3174
lv_player = StringToInt(StringWord(EventChatMessage(false), 2));
lv_buildNumber = StringToInt(StringWord(EventChatMessage(false), 3));
libAIAI_gv_aIHeroes[lv_player].lv_pickedTalentBuild = lv_buildNumber;
libStEx_gf_RespecPlayer(lv_player, true);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5836
lv_offsetString = CatalogFieldValueGet(lv_catalog, lv_entry, lv_field, lp_player);
lv_offsetString = StringReplaceWord(lv_offsetString, ",", " ", c_stringReplaceAll, c_stringCase);
lv_xOffset = StringWord(lv_offsetString, 1);
lv_yOffset = StringWord(lv_offsetString, 2);
lv_zOffset = StringWord(lv_offsetString, 3);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5837
lv_offsetString = StringReplaceWord(lv_offsetString, ",", " ", c_stringReplaceAll, c_stringCase);
lv_xOffset = StringWord(lv_offsetString, 1);
lv_yOffset = StringWord(lv_offsetString, 2);
lv_zOffset = StringWord(lv_offsetString, 3);
lv_yOffsetReal = StringToFixed(lv_yOffset);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5838
lv_xOffset = StringWord(lv_offsetString, 1);
lv_yOffset = StringWord(lv_offsetString, 2);
lv_zOffset = StringWord(lv_offsetString, 3);
lv_yOffsetReal = StringToFixed(lv_yOffset);
lv_yOffsetReal += libGame_gv_talents_TalentChoices[lp_player][lp_tierIndex].lv_talentData[lp_buttonIndex].lv_abilityModificationData[lv_itAbilityMod].lv_value;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5969
lv_offsetString = CatalogFieldValueGet(lv_catalog, lv_entry, lv_field, lv_player);
lv_offsetString = StringReplaceWord(lv_offsetString, ",", " ", c_stringReplaceAll, c_stringCase);
lv_xOffset = StringWord(lv_offsetString, 1);
lv_yOffset = StringWord(lv_offsetString, 2);
lv_zOffset = StringWord(lv_offsetString, 3);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5970
lv_offsetString = StringReplaceWord(lv_offsetString, ",", " ", c_stringReplaceAll, c_stringCase);
lv_xOffset = StringWord(lv_offsetString, 1);
lv_yOffset = StringWord(lv_offsetString, 2);
lv_zOffset = StringWord(lv_offsetString, 3);
lv_yOffsetReal = StringToFixed(lv_yOffset);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5971
lv_xOffset = StringWord(lv_offsetString, 1);
lv_yOffset = StringWord(lv_offsetString, 2);
lv_zOffset = StringWord(lv_offsetString, 3);
lv_yOffsetReal = StringToFixed(lv_yOffset);
lv_yOffsetReal += libGame_gv_players[lv_heroIndex].lv_heroData.lv_levelUpModificationData.lv_valueAddedPerLevel[lv_abilityindex][lv_changeindex];
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:14810
}
if ((StringWord(EventChatMessage(false), 2) == "")) {
TriggerDebugOutput(1, StringExternal("Param/Value/lib_Game_2114147A"), true);
return true;