Perfil
BienvenidaPreferenciasAvatarFirma
Recargar
¿No quieres problemas? pásate y lee esto.
¿Eres nuevo? Que esperas preséntate acá.
Visitamos en nuestra pagina de Facebook y dale me gusta! aquí!
Síguenos en Twitter y entérate de que pasa en nuestra comunidad!

Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje [Página 1 de 1.]

TerraNet  

CEO TN!
TerraNet

1Agrupar Items Estilo DotA (pociones, etc.) Empty Lun Oct 31, 2011 6:42 pm - Agrupar Items Estilo DotA (pociones, etc.)

Bueno, leyendo un poquito por ahi, descubrí como hacer esto, agrupar pociones. Lo único malo, es que lo maximo que se pueden agrupar, son 8 :S.

Primero que nada, debemos editar una cosa en el editor de objetos, seleccionando el objeto que queremos que se agrupe.

En mi caso, es una poción, y voy a hacer que tenga 2 cargas, y que se pueda agrupar hasta 8 cargas (lamentablemente, yo no se hacer para que sean mas cargas).

Entonces, en el editor de objetos, editamos el siguiente valor.

Inglés:
Stats - Level : 8 (8 es lo máximo)

Español:
Estadísticas - Nivel :
8 (8 es lo máximo)

Ahora, tenemos que hacer el siguiente detonador (ES RE LARGO :S):

*****************************************************************************
** Si tienen problemas para armar el detonador, o no les sale, diganme asi los ayudo con imágenes lindas xD **
*****************************************************************************

Agrupar Items Estilo DotA (pociones, etc.) 2084186815 Evento:
Agrupar Items Estilo DotA (pociones, etc.) 3649230375 Unit - A unit Acquieres an item

:Condition: Acontecimientos:
Agrupar Items Estilo DotA (pociones, etc.) 120511517 (Charges remaining in (Item being manipulated)) Not equal to 0

:Action: Acciones:
Agrupar Items Estilo DotA (pociones, etc.) 120511517 For each (Integer A) from 1 to 6, do (Actions)
:Action: Loop - Actions
Agrupar Items Estilo DotA (pociones, etc.) 120511517 If (All Conditions are True) then do (Then Actions) else do (Else Actions)
:Condition: If - Conditions
Agrupar Items Estilo DotA (pociones, etc.) 120511517 (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to (Item-type of (Item being manipulated))
Agrupar Items Estilo DotA (pociones, etc.) 120511517 (Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) Less than (Item level of (Item carried by (Hero manipulating item) in slot (Integer A)))
Agrupar Items Estilo DotA (pociones, etc.) 120511517 (Item carried by (Hero manipulating item) in slot (Integer A)) Not equal to (Item being manipulated)
:Action: Then - Actions
Agrupar Items Estilo DotA (pociones, etc.) 120511517 If (All Conditions are True) then do (Then Actions) else do (Else Actions)
:Condition: If - Conditions
Agrupar Items Estilo DotA (pociones, etc.) 120511517 ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + (Charges remaining in (Item being manipulated))) Greater than (Item level of (Item being manipulated))
:Action: Then - Actions
Agrupar Items Estilo DotA (pociones, etc.) 4174264742 Item - Set charges remaining in (Item being manipulated) to ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + ((Charges remaining in (Item being manipulated)) - (Item level of (Item being manipulated))))
Agrupar Items Estilo DotA (pociones, etc.) 4174264742 Item - Set charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A)) to (Item level of (Item being manipulated))
:Action: Else - Actions
Agrupar Items Estilo DotA (pociones, etc.) 4174264742 Item - Set charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A)) to ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + (Charges remaining in (Item being manipulated)))
Agrupar Items Estilo DotA (pociones, etc.) 4174264742 Item - Remove (Item being manipulated)
:Action: Else - Actions

Y listo, con eso ya nuestros items se agrupan, PERO HASTA 8 CARGAS SOLAMENTE!.

Saludos.

P.D : No duden en preguntar si tienen problemas, yo lo probé y me andubo de 10 Smile.

sauron  

sauron

2Agrupar Items Estilo DotA (pociones, etc.) Empty Miér Nov 16, 2011 3:31 am - Agrupar Items Estilo DotA (pociones, etc.)

Repito lo mismo, fuente por favor -.-"

TerraNet  

CEO TN!
TerraNet

3Agrupar Items Estilo DotA (pociones, etc.) Empty Lun Nov 21, 2011 1:58 pm - Agrupar Items Estilo DotA (pociones, etc.)

[Tienes que estar registrado y conectado para ver este vínculo] Very Happy

Contenido patrocinado  

4Agrupar Items Estilo DotA (pociones, etc.) Empty - Agrupar Items Estilo DotA (pociones, etc.)

Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje [Página 1 de 1.]

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