Logged in as Guest | You are in group "Guests" | Friday, 2024-03-29, 10:32 AM RSS Main | Infinite Day, help please!!! - Forum | Registration | Login






[ New messages · Members · Forum rules · Search · RSS ]

  • Page 1 of 1
  • 1
Forum moderator: InfraScope  
Forum » Codename PANZERS Phase 1 & 2 » Technical Support » Infinite Day, help please!!!
Infinite Day, help please!!!
Monday, 2012-06-04, 11:20 PM

Message # 1

Rusoski

Major
Veteran User
Registered: 2011-11-23
Messages: 31
Reputation: 0

Guys!! I'm making a campaing.

I have just finishes 2 maps of 10/12 (I dont know how many it will take to me, because I am getting more a best ideas) but I have a problem...

I've just created 360 weathers which cover all 360º which take the sun to end up a lap over the earth then I just made a "trigger" that is like this:

------------------------------------------------------------------

Event:
On every seecond.

Conditions:
Days = 1 <--- Compare Variable (Name = Days / Initial value = 1 / Increment = 0)

Events:
Set variable 'Days' to 0.
Set Weater .................1 in 0 fraps
Wait 40 fraps (2 seconds, 0 fraps)
Set Weater .................2 in 0 fraps
Wait 40 fraps (2 seconds, 0 fraps)
Set Weater .................3 in 0 fraps
Wait 40 fraps (2 seconds, 0 fraps)
Set Weater .................4 in 0 fraps
Wait 40 fraps (2 seconds, 0 fraps)
Set Weater .................5 in 0 fraps
Wait 40 fraps (2 seconds, 0 frapps
........................
........................
........................
........................
........................
........................
........................
........................
........................
........................
........................
Set variable 'Days' to 1.

------------------------------------------------------------------

What I'm trying to do is make the trigger compare variable "Days = 1", then set it to "0" and start all actions, when all actions end, it has to be set again to "1".

But my question is:

Can I make a "cyclic trigger"?
 

 

Tuesday, 2012-06-05, 4:33 PM

Message # 2

YOSOYO

Lieutenant colonel
Veteran User
Registered: 2012-01-03
Messages: 73
Reputation: 2

you must do in actions:
preserve trigger
and this trigger will be cyclic, but make sure to always you do this, make a variable to repeat this trigger when it finishes, not early.( in your trigger this variable is Days, and your done correctly)

Added (2012-06-05, 4:33 PM)
---------------------------------------------
si no lo entiendes dime que no lo entiendes por aqui y te lo pongo en español mas detallado, que no me di cuenta que eras tu xD.


sorry for my english and please ¡¡¡contestenme en español si lo entienden!!!xD
 

 

Tuesday, 2012-06-05, 6:24 PM

Message # 3

Rusoski

Major
Veteran User
Registered: 2011-11-23
Messages: 31
Reputation: 0

A hueso que entiendo xD gracias muchacho!

biggrin

Tengo otra pregunta, mira tengo una "localización" y quiero que al entrar una unidad mía ahí, muera...

Pero todas las acciones van hacia "found unit" ¬¬ (set player, set unit hp, kill units...) creo que sabes cuales, existe alguna forma de aplicar todas esas acciones hacia mi?

-------------------------------------------------------------------------------------
English
-------------------------------------------------------------------------------------

I have a question. lets say that I have a "location", what I want to do is that if one of my own unint enters that location it will die for example.

But all the action go to "found units" ¬¬ (set player, set unit hp, kill units...), I guess you know which, is there any way to make as target myself using this actions instead of found units?


Message edited by Rusoski - Tuesday, 2012-06-05, 6:28 PM
 

 

Tuesday, 2012-06-05, 9:51 PM

Message # 4

YOSOYO

Lieutenant colonel
Veteran User
Registered: 2012-01-03
Messages: 73
Reputation: 2

Event:
When a unit enters 'Location 1'. (1)
Conditions:
The triggering of unit is owned by Player 1. (2)
Find Any Unit of Player 1 at 'Location 1'. (3)
Actions:
Remove found units. (4)

1) aqui es para accionar la regla, bueno esta parte ya te la sabras...
2)Esto dice que si no entra el player 1 esta regla no podra ser activada
3)esto dice: encontrar (find) unidades, en este caso de el jugador 1 en el sitio de localizacion 1. Esto es necesario para algunas acciones.
4)esto necesita del paso '(3)' y lo que hara sera que las unidades 'desaparezcan', tambien hay otra accion llamada 'kill found units' que hace algo parecido, que como traduciras es: 'matar las unidades encontradas', esa accion hace lo mismo, pero en vez de desaparecer mueren.


sorry for my english and please ¡¡¡contestenme en español si lo entienden!!!xD
 

 

Tuesday, 2012-06-05, 10:02 PM

Message # 5

Rusoski

Major
Veteran User
Registered: 2011-11-23
Messages: 31
Reputation: 0

Por eso te amo!!!

No lo mal interpretes xD
 

 

Tuesday, 2012-06-05, 11:21 PM

Message # 6

YOSOYO

Lieutenant colonel
Veteran User
Registered: 2012-01-03
Messages: 73
Reputation: 2

jajaj xD smile

sorry for my english and please ¡¡¡contestenme en español si lo entienden!!!xD
 

 

Wednesday, 2012-06-06, 6:52 AM

Message # 7

Rusoski

Major
Veteran User
Registered: 2011-11-23
Messages: 31
Reputation: 0

Encontré el problema biggrin

Y lo solucioné...


Message edited by Rusoski - Wednesday, 2012-06-06, 7:05 PM
 

 

Forum » Codename PANZERS Phase 1 & 2 » Technical Support » Infinite Day, help please!!!
  • Page 1 of 1
  • 1
Search:

Copyright VPf2 Designs © 2024