# Region From Name
Grammar — Region named name
Flags —Native
|Function
Returns a pre-placed region with the given name.
# Arguments
string
— Name
Returns — region
native region RegionFromName(string name);
# Related
Category: Region / Useful Regions
- [F] —
region
— Empty Region — ( RegionEmpty ) - [F] —
region
— Entire Map — ( RegionEntireMap ) - [F] —
region
— Playable Map Area — ( RegionPlayableMap ) - [F] —
region
— Region From Name — ( RegionFromName ) - [F] —
void
— Set Playable Map Area — ( RegionPlayableMapSet )
# Examples
# campaigns/swarm.sc2campaign
// L1718
RegionFromName(("Fissure " + IntToString((gv_coreOnCycle + 1))))
// L1728
RegionFromName(("Fissure " + IntToString(gv_extraCycleTracker)))
// L1859
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1864
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1866
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1873
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1937
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1992
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1994
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1718
RegionFromName(("Fissure " + IntToString((gv_coreOnCycle + 1))))
// L1728
RegionFromName(("Fissure " + IntToString(gv_extraCycleTracker)))
// L1859
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1864
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1866
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1873
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1937
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1992
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1994
RegionFromName(("Bonus Objective Activate " + IntToString(lv_bonusIndex)))
// L1668
RegionFromName(("MoveRegion 0" + IntToString(lv_i)))
// L1672
RegionFromName(("MoveRegion " + IntToString(lv_i)))
// L1017
RegionFromName(("Raynor Base " + IntToString(lp_base) + " Patrol Stabilizer " + IntToString(lp_stabilizer)))
// L1024
RegionFromName(("Raynor Base " + IntToString(lp_base) + " Patrol Stabilizer " + IntToString(lp_stabilizer)))
// L1031
RegionFromName(("Raynor Base " + IntToString(lp_base) + " Patrol Stabilizer " + IntToString(lp_stabilizer)))
// L1815
RegionFromName(("Hull Breach " + IntToString(lv_index)))
// L2329
RegionFromName(("Stabilizer " + IntToString(lv_index)))
// L2330
RegionFromName(("Generator Secure Zone " + IntToString(lv_index)))
// L2809
RegionFromName(("Scrambler Region " + IntToString(lv_index)))
// L3248
RegionFromName(("Exploding Cliff Building " + IntToString(lv_index)))
// L3252
RegionFromName(("Damaged Cliff Building " + IntToString(lv_index)))
// L3256
RegionFromName(("Korhal Debris " + IntToString(lv_index)))
// L1862
RegionFromName(("Enemy Camp " + IntToString(lv_enemyCampIndex)))
// L1888
RegionFromName(("Enemy Camp " + IntToString(lv_enemyCampIndex)))
// L674
RegionFromName(("Glacius Assault Region " + IntToString(lp_region)))
// L537
RegionFromName(("Cybros Lock Area 0" + IntToString((gv_objectiveStasisLocksCurrent + 1))))
// L4434
RegionFromName(("Zerg Wander Region 0" + IntToString(lv_i)))
// L2428
RegionFromName(("Purifier Spawn Reveal " + IntToString(lv_regionIndex)))
// L2504
RegionFromName(("Power Line 0" + IntToString(lv_powerInhibitorIndex)))
// L2507
RegionFromName(("Power Line " + IntToString(lv_powerInhibitorIndex)))
// L6449
RegionFromName(("Activate Stasis Pods " + IntToString(gv_midContainmentIndex)))
// L6748
RegionFromName(("Purifier Spawn Reveal " + IntToString(lv_regionIndex)))
// L1376
RegionFromName(("Capture Region " + IntToString(lv_index)))
// L1377
RegionFromName(("First Capture " + IntToString(lv_index)))
// L1378
RegionFromName(("Defense Region " + IntToString(lv_index)))
// L1379
RegionFromName(("Mechanism Reveal " + IntToString(lv_index)))
// L1380
RegionFromName(("Mechanism " + IntToString(lv_index)))
// L1383
RegionFromName(("Mechanism " + IntToString(lv_index) + " Bullies - Stage 1"))
// L1384
RegionFromName(("Mechanism " + IntToString(lv_index) + " Bullies - Stage 2"))
// L1385
RegionFromName(("Mechanism " + IntToString(lv_index) + " Bullies - Stage 3"))
// L2193
RegionFromName(("Gate " + IntToString(lv_i)))
// L7064
RegionFromName(("Autoreveal " + IntToString(lv_i)))
// L1523
RegionFromName(("Blackout Large 1-" + IntToString(lv_i)))
// L1524
RegionFromName(("Blackout Large 1-" + IntToString(lv_i)))
// L1528
RegionFromName(("Blackout Small 1-" + IntToString(lv_i)))
// L1529
RegionFromName(("Blackout Small 1-" + IntToString(lv_i)))
// L1535
RegionFromName(("Blackout Large 2-" + IntToString(lv_i)))
// L1536
RegionFromName(("Blackout Large 2-" + IntToString(lv_i)))
// L1542
RegionFromName(("Blackout Large 3-" + IntToString(lv_i)))
// L1543
RegionFromName(("Blackout Large 3-" + IntToString(lv_i)))
// L1547
RegionFromName(("Blackout Small 3-" + IntToString(lv_i)))
// L1548
RegionFromName(("Blackout Small 3-" + IntToString(lv_i)))
// L1668
RegionFromName(("MoveRegion 0" + IntToString(lv_i)))
// L1672
RegionFromName(("MoveRegion " + IntToString(lv_i)))
// L1017
RegionFromName(("Raynor Base " + IntToString(lp_base) + " Patrol Stabilizer " + IntToString(lp_stabilizer)))
// L1024
RegionFromName(("Raynor Base " + IntToString(lp_base) + " Patrol Stabilizer " + IntToString(lp_stabilizer)))
// L1031
RegionFromName(("Raynor Base " + IntToString(lp_base) + " Patrol Stabilizer " + IntToString(lp_stabilizer)))
// L1815
RegionFromName(("Hull Breach " + IntToString(lv_index)))
// L2329
RegionFromName(("Stabilizer " + IntToString(lv_index)))
// L2330
RegionFromName(("Generator Secure Zone " + IntToString(lv_index)))
// L2809
RegionFromName(("Scrambler Region " + IntToString(lv_index)))
// L3248
RegionFromName(("Exploding Cliff Building " + IntToString(lv_index)))
// L3252
RegionFromName(("Damaged Cliff Building " + IntToString(lv_index)))
// L3256
RegionFromName(("Korhal Debris " + IntToString(lv_index)))
// L1862
RegionFromName(("Enemy Camp " + IntToString(lv_enemyCampIndex)))
// L1888
RegionFromName(("Enemy Camp " + IntToString(lv_enemyCampIndex)))
// L674
RegionFromName(("Glacius Assault Region " + IntToString(lp_region)))
// L537
RegionFromName(("Cybros Lock Area 0" + IntToString((gv_objectiveStasisLocksCurrent + 1))))
// L4434
RegionFromName(("Zerg Wander Region 0" + IntToString(lv_i)))
// L2428
RegionFromName(("Purifier Spawn Reveal " + IntToString(lv_regionIndex)))
// L2504
RegionFromName(("Power Line 0" + IntToString(lv_powerInhibitorIndex)))
// L2507
RegionFromName(("Power Line " + IntToString(lv_powerInhibitorIndex)))
// L6449
RegionFromName(("Activate Stasis Pods " + IntToString(gv_midContainmentIndex)))
// L6748
RegionFromName(("Purifier Spawn Reveal " + IntToString(lv_regionIndex)))
// L1376
RegionFromName(("Capture Region " + IntToString(lv_index)))
// L1377
RegionFromName(("First Capture " + IntToString(lv_index)))
// L1378
RegionFromName(("Defense Region " + IntToString(lv_index)))
// L1379
RegionFromName(("Mechanism Reveal " + IntToString(lv_index)))
// L1380
RegionFromName(("Mechanism " + IntToString(lv_index)))
// L1383
RegionFromName(("Mechanism " + IntToString(lv_index) + " Bullies - Stage 1"))
// L1384
RegionFromName(("Mechanism " + IntToString(lv_index) + " Bullies - Stage 2"))
// L1385
RegionFromName(("Mechanism " + IntToString(lv_index) + " Bullies - Stage 3"))
// L2193
RegionFromName(("Gate " + IntToString(lv_i)))
// L7064
RegionFromName(("Autoreveal " + IntToString(lv_i)))
// L1523
RegionFromName(("Blackout Large 1-" + IntToString(lv_i)))
// L1524
RegionFromName(("Blackout Large 1-" + IntToString(lv_i)))
// L1528
RegionFromName(("Blackout Small 1-" + IntToString(lv_i)))
// L1529
RegionFromName(("Blackout Small 1-" + IntToString(lv_i)))
// L1535
RegionFromName(("Blackout Large 2-" + IntToString(lv_i)))
// L1536
RegionFromName(("Blackout Large 2-" + IntToString(lv_i)))
// L1542
RegionFromName(("Blackout Large 3-" + IntToString(lv_i)))
// L1543
RegionFromName(("Blackout Large 3-" + IntToString(lv_i)))