Camera problem that no one can solve!

  • Thread starter Thread starter georgie
  • Start date Start date
G

georgie

Guest
Hey im still gettin the same problem and i really dunno whats wrong!!!

What i want is after the unit is bought and placed at the players start location, the camera pans over to that unit in a period of 3 seconds. But the camera panning isn't working!

Camera - Pan camera for (Owner of (Sold unit)) to (Position of (Sold unit)) over 3.00 seconds

Is my code.. after many suggestions, it still does not work!!!

and these are the two lines before it, which work just fine!

If (((Trained unit) is A Hero) Equal to True) then do (Unit - Remove (Triggering unit) from the game) else do (Do nothing)
and
If (((Trained unit) is A Hero) Equal to True) then do (Unit - Remove (Triggering unit) from the game) else do (Do nothing)

Thanks for the help .... lol :(
 
OMG I already said, pan the camera to the players start location... Its probrably panning to its location to early so it goes near the shop not where its moved to
 
These heros are sold from a tavern? If that is the case I would create a region around the tavern and then have this trigger

<not exact code>
Code:
Events: A unit enters region <Region around Tavern>

Conditions: <Triggering Unit> is a Hero equal to True

Actions: Unit - Move <Triggering Unit> to <Start Location of <Owner of <Triggering Unit>>
Camera - Pan camera to <Position of <Triggering Unit>> over 3.00 seconds.
 
Rad stop yelling as i told you in both my other topics, your idea did not work! sheesh why do you keep saying OMG I TOLD PFJAL:KJSDFL:KJASDLK: okay i know your trying to help, but your not,a nd all that's happeneing really is your making me look dumb :mad:

Anyways this is the idea.. You have a building which you choose your hero from (you do not need a hero selector blah blah balh) you have your own buildiong. Choose your hero from that building. The hero is moved to your start location then the building is destryoed. All that works except for the camera pan thing!
 
Event: Unit <Sells a unit>
Condition: Boolean - <Sold unit> is a hero equal to true
Action: Unit - Move <Sold Unit> instantly to (Owner of <Sold unit>) start location
Action: Camera - Pan camera for (Owner of <Sold unit>) to (Owner of <Sold unit>) start location

Whats wrong with that??
 
you want me to try that code? k i will if it works i owe you like 4 dollars
 
wewt 4 dollars, a few more deals like this and i can get my #7 from jack in the box!!
 
eh you don't get your four dollars :P

this is my code and it don't work

Events
Unit - Hero Chooser 0013 <gen> Sells a unit
Conditions
Unit - Hero Chooser 0013 <gen> Sells a unit
Actions
Unit - Remove (Selling unit) from the game
Unit - Move (Sold unit) instantly to ((Owner of (Sold unit)) start location)
Camera - Pan camera for (Owner of (Sold unit)) to ((Owner of (Sold unit)) start location) over 3.00 seconds

And nothing happens.. lol

building stays there.. unit spawns next to the building.. and no camera pan :)
 
Try my method please. As long as the <selling unit> is not normally ascessible durring the game it should work fine.

Also, remove that condition. Thats probably the problem.
 
Events
Unit - Hero Chooser 0013 <gen> Sells a unit
Conditions
Unit - Hero Chooser 0013 <gen> Sells a unit

?? Thats not a condition lol

If its a specific unit event you dont need a unit-type condition anyways... that trigger i said i used in a ... well not quite sure what you call it, almost like an arena but you chose then it moved ur camera to the region, would be same for starting location though
 
wow that explains it lol, wait it was a mis-copy,, the real condition is
((Sold unit) is A Hero) Equal to True
 
Well, perhaps the problem is not in the trigger but rather with another object. Is the hero you're testing with really a hero? Is there a problem with the tavern building? I would check those things first.
 
Melee Initialization
Events
Unit - Farm 0001 <gen> Sells a unit
Conditions
(Unit-type of (Sold unit)) Equal to Footman
Actions
Camera - Pan camera for (Owner of (Sold unit)) to ((Owner of (Sold unit)) start location) over 0.00 seconds
Unit - Move (Sold unit) instantly to ((Owner of (Sold unit)) start location)


Just tested, worked perfectly fine... even made a video was gonna upload it but its 17mb and i got no compression system :(

When you made the unit it went to ur start location, and so did your camera!
 
its not worht it.. ill revert to my old method, thx anyways.. can figure any of this out.. dunno wat i fukked up
 
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
  • 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.
  • The Helper The Helper:
    Also, anyone who is reading this and is sad - don't be, turn off the Internet, step away from the box - enjoy your life - there is so much more out there for you than there is here for you.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top