camera loop

U are a noob

Mega Super Ultra Cool Member
Reaction score
151
how would i loop these?

Code:
Untitled Trigger 001
    Events
    Conditions
    Actions
        Camera - Apply Camera 003 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 002 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 004 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 005 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 006 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
 
Put them in a different trigger, and make your regular one turn that trigger on and off. Use Duwen's suggestion for the different trigger.
 
To loop you can either use unit/player (or anything) 'Group', and it will loop for everything in the loop.

Mainly use 'For each integer' to loop though, if you want it forever loop, to use it as is just add say a .5 second wait and a 'Trigger - Run <This trigger>', so it will run every .5 seconds (forever)
 
Sargon said:
Put them in a different trigger, and make your regular one turn that trigger on and off. Use Duwen's suggestion for the different trigger.

Code:
Untitled Trigger 001
    Events
every - 10secs
    Conditions
    Actions
        Camera - Apply Camera 003 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 002 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 004 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 005 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 006 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
i keep that trigger off and i have another one and it goes like this?
Code:
Untitled Trigger 001
    Events
unit enter region
    Conditions
    Actions
start (trigger)
 
Um yea somethin like that but it wont do anything since it has no triggering unit
 
Rad said:
Um yea somethin like that but it wont do anything since it has no triggering unit

How would that make it not do anything?
 
Omg sargon stop being a smartass dude, seriously "What genre is Hero survival in" - "Its where heros survive long to win" - "That still doesnt describe it"...

If anything it will apply it to the center of the map, else crash
 
I don't know if it's exactly what you want, but why not trying something like this?
Code:
Camera Loop Trigger
Events
    Map initialization
Conditions
    None
Actions
    Camera - Apply Camera 003 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
    Camera - Apply Camera 002 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
    Camera - Apply Camera 004 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
    Camera - Apply Camera 005 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
    Camera - Apply Camera 006 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
    Run Camera Loop Trigger ignoring conditions
 
The trigger you are arguing about does have a triggering unit. It just isn't specified that it has to be a certain kind of unit. If you have
'A Unit enters a region'
If any unit enters the region then it becomes the triggering unit.
 
Code:
Lightning Bolt
    Events
        Unit - A unit enters Region 040 <gen>
    Conditions
    Actions
        Game - Display to (Player group((Owner of (Triggering unit)))) the text: DONT GET TOO CLOSE ...
        Trigger - Turn on Untitled Trigger 001 <gen>

Code:
Untitled Trigger 001
    Events
        Time - Every 5.25 seconds of game time
    Conditions
    Actions
        Camera - Apply Camera 003 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 002 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 004 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 005 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 006 <gen> for (Owner of (Triggering unit)) over 0.00 seconds

it doesnt work can some one tell me why?
 
Code:
Code:
Lightning Bolt
    Events
        Unit - A unit enters Region 040 <gen>
    Conditions
    Actions
        Game - Display to (Player group((Owner of (Triggering unit)))) the text: DONT GET TOO CLOSE ...
        Trigger - Turn on Untitled Trigger 001 <gen>


Code:
Code:
Untitled Trigger 001
    Events
        Time - Every 5.25 seconds of game time
    Conditions
    Actions
        Camera - Apply Camera 003 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 002 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 004 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 005 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 006 <gen> for (Owner of (Triggering unit)) over 0.00 seconds

what r u doing?

call the trigger camera loop

Code:
Code:
Untitled Trigger 001
    Events
        Elapsed game time equal to 0.01 seconds
    Conditions
    Actions
        Camera - Apply Camera 003 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 002 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 004 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 005 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Camera - Apply Camera 006 <gen> for (Owner of (Triggering unit)) over 0.00 seconds
        Wait - Wait 0.01 seconds
        Trigger - Run Camera Loop


what is so difficult about that?
if there is a triggering unit change the event
 
why just u dont use this...
Code:
EarthWake
Events
Map initialization
Conditions

Actions
Advanced - Create a earthquake at (Center of (Playable map area)) for 20.00 seconds
 
Code:
Lightning Bolt
    Events
        Unit - A unit enters Region 040 <gen>
    Conditions
    Actions
        Game - Display to (Player group((Owner of (Entering unit)))) the text: DONT GET TOO CLOSE ...
        Set (Unit) = (Entering Unit)
        Trigger - Turn on Untitled Trigger 001 <gen>

Code:
Untitled Trigger 001
    Events
        Time - Every 5.25 seconds of game time
    Conditions
    Actions
        Camera - Apply Camera 003 <gen> for (Owner of (Unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 002 <gen> for (Owner of (Unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 004 <gen> for (Owner of (Unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 005 <gen> for (Owner of (Unit)) over 0.00 seconds
        Wait 1.25 seconds
        Camera - Apply Camera 006 <gen> for (Owner of (Unit)) over 0.00 seconds

Unit is a variable of type Unit.

If you just want the camera to shake then there is a trigger for that, shake camera. and if you don't want the camera to go between each one instantly then put in a time for "over 0.00 seconds". 1.24 for maximum smoothness. and make sure to have another trigger turn this one off when you want it to stop.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • A Andyoyo:
    Thank you for the hard work over the years. It did not go unnoticed.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top