Koleshy Engine
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

[KE] Funcion GUI SetCustomLife

Ir abajo

[KE] Funcion GUI SetCustomLife Empty [KE] Funcion GUI SetCustomLife

Mensaje por Koleshy Vie Dic 18, 2015 1:49 pm

[KE] Funcion GUI SetCustomLife

Descripcion: Funcion que te permite agregar/quitar X cantidad de vida maxima de una unidad o heroe.

IMPORTACION: importa las 2 habilidades de objeto, y los 2 objetos que se encuentran en el mapa. despues de eso configurar en el detonador de funcion.

ADVERTENCIA: no abusen en grandes cantidades...

Detonador de la Funcion:

Código:
SetCustomLife
   Acontecimientos
   Condiciones
   Acciones
       -------- ###### .::Maqueta::. ###### --------
       -------- SetCustomLife(unidad, cantidad, bool) --------
       -------- ###################### --------
       -------- Bool >>> true = agregar | false = quitar --------
       Set SetCustomLifeSYS_Unidad = SetCustomLifeSYS_Unidad
       Set SetCustomLifeSYS_Cantidad = SetCustomLifeSYS_Cantidad
       Set SetCustomLifeSYS_AgregarQuitar = SetCustomLifeSYS_AgregarQuitar
       -------- **************************************************** --------
       -------- Configura correctamente estos 2... ||  1 = Add | 2 = Remove --------
       Set SetCustomLifeCFG_AddRemove[1] = SetCustomLife (Add)
       Set SetCustomLifeCFG_AddRemove[2] = SetCustomLife (Remove)
       -------- **************************************************** --------
       If (SetCustomLifeSYS_AgregarQuitar Igual a True) then do (Set SetCustomLifeCFG_IDX = 1) else do (Set SetCustomLifeCFG_IDX = 2)
       For each (Integer A) from 1 to SetCustomLifeSYS_Cantidad, do (Hé️roe - Create SetCustomLifeCFG_AddRemove[SetCustomLifeCFG_IDX] and give it to SetCustomLifeSYS_Unidad)

Ejemplos como usar: los ejemplos estan en el mismo mapa con la funcion incluida. descarguelo y revise c:

descarga
[Tienes que estar registrado y conectado para ver este vínculo]
Koleshy
Koleshy
Pendejo
Pendejo

Mensajes : 37
Fecha de inscripción : 21/11/2013
Edad : 27
Localización : Lima, Perú

https://koleshyengine.foroactivo.mx

Volver arriba Ir abajo

Volver arriba


 
Permisos de este foro:
No puedes responder a temas en este foro.