Name | Type | is_array | initial_value |
Damage | integer | No | |
Facing | real | No | |
FireGroup | group | No | |
PointFire | location | Yes | |
RandomDistance | real | No | |
RandomProbability | real | No |
//==============================ENGLISH=================================================
////////////////////////////////////////////////////////////////////////////////////////
// Hello, thank you to download my new MUI, MPI, GUI spell-map.=========================
// This is a Tutorial to...=============================================================
//HOW TO YOU PAST THE SPELL IN YOUR MAP.================================================
//1. Open File>Preferences>Create unknown variables to past the triggers.===============
//2. Copy Dummy units.==================================================================
//3. Copy the Abilies (Flamestrike, Flamestrike (DUMMY)).===============================
//4. Copy the triggers and search the pasted dummy unit in section "Unit - Create 1..."=
//Search the Ablitis in section "Conditions - (Ability being cast) Equal to ..."========
//Add at the pasted Dummy unit the ability Flamestrike (DUMMY).=========================
// Give me credits if you use the spell in your map.====================================
//To any question search me in http;//www.hiveworkshop.com/.============================
// - Philipe -.=========================================================================
////////////////////////////////////////////////////////////////////////////////////////
//======================================================================================
//==Visit my new web page in Spanish!: http://thewar3moddingsite.jimdo.com/=============
//======================================================================================
////////////////////////////////////////////////////////////////////////////////////////
//
//==============================ESPAÑOL========================================================
///////////////////////////////////////////////////////////////////////////////////////////////
//Hola, gracias por descargar mi nuevo hechizo MUI, MPI, GUI.==================================
//Esto es un tutorial para...==================================================================
//COMO PASAR EL HECHIZO A TU MAPA.=============================================================
//1. Abrir Archivo>Preferencias>Crear variables desconocidas al pegar los datos de detonador.==
//2. Copiar las unidades Ficticias.============================================================
//3. Copiar las habilidades (Flamestrike, Flamestrike (DUMMY)).================================
//4. Copiar los detonadores, al copiarlos busca la unidad Ficticia en "Unidad - Create 1 ..."==
//Busca las habilidades en las condiciones "Condiciones - (Ability being cast) Igual a ..."====
//Añadir la habilidad Flamestrike (DUMMY) a la unidad Ficticia pegada.=========================
//Dame creditos si tu usas este hechizo en tu mapa.============================================
//Si tienes alguna pregunta buscame en http://www.hiveworkshop.com/.===========================
// - Philipe (Felipe en inglesl) -.============================================================
///////////////////////////////////////////////////////////////////////////////////////////////
//=============================================================================================
//Visita mi nueva pagina web en Español!: http://thewar3moddingsite.jimdo.com/=================
//=============================================================================================
function Trig_Map_Actions takes nothing returns nothing
call TriggerSleepAction( 20.00 )
call CreateNUnitsAtLoc( 1, GetUnitTypeId(GetDyingUnit()), Player(1), GetUnitLoc(GetDyingUnit()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Map takes nothing returns nothing
set gg_trg_Map = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Map, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddAction( gg_trg_Map, function Trig_Map_Actions )
endfunction