First post.. Simple question

  • Thread starter Thread starter InTheNight
  • Start date Start date
I

InTheNight

Guest
I need a little help, should be easy for all you pro's ^^;
I'm trying to make a simple little capture flag map, But whenever I test it, I can be player 1 and I pick up my own flag, And I immediately get 10 points.. I want to make it so I have to take the OTHER teams flag to my base... And I really think thats what my script reads as - But that's not how it works.. So I don't really know.
Please help me if you can, and if I didn't post enough information regarding it - Please let me know.
If you wish to talk via MSN mine is [email protected]
Thank you for reading.

CapturedTeam2s
Events
Unit - A unit Acquires an item
Conditions
((Item carried by (Entering unit) of type Team 2 Flag) Equal to (Item carried by (Entering unit) of type Team 2 Flag)) and ((Team 1 Base <gen> contains (Triggering unit)) Equal to True)
Actions
Game - Display to (All players) the text: Team 1 Has Captured...
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to (Team1Score + 10)
Set Team1Score = (Team1Score + 10)

P.S I think the :banghead: emoticon is *REALLY* cute :) (I don't know why I had to mention that)
 
First i already see a problem, you are using entering unit but you have no unit enters region event, you are using aquiring item event. It won't reconize an entering unit, therefor won't work.
 
Im_On_56k said:
First i already see a problem, you are using entering unit but you have no unit enters region event, you are using aquiring item event. It won't reconize an entering unit, therefor won't work.

Thank you for the reply!
Uhm, I changed it to:
Unit - A unit enters Team 1 Base <gen>
as the initial Event, now it should check for the flag I think - But it gives me the points as soon as I pickup their flag.. It doesn't wait for the event of me entering my base.. ^^;;
 
Code:
    Events
        Unit - A unit enters base1 <gen>
    Conditions
        (Item carried by (Entering unit) of type Flag Team 2) Not equal to (Picked item)
        Or - Any (Conditions) are true
            Conditions
                (Owner of (Entering unit)) Equal to Player 1 (Red)
                (Owner of (Entering unit)) Equal to Player 2 (Blue)
                (Owner of (Entering unit)) Equal to Player 3 (Teal)
                (Owner of (Entering unit)) Equal to Player 4 (Purple)
                (Owner of (Entering unit)) Equal to Player 5 (Yellow)
    Actions
        Item - Create Flag Team 2 at (Center of base2 <gen>)
        Item - Remove (Item carried by (Entering unit) of type Flag Team 2)
        Set Team1points = (Team1points + 10)
        Leaderboard - Change the value for Player 11 (Dark Green) in (Last created leaderboard) to Team1points
        Game - Display to (All players) the text: |c00800000Team 1 ha...
 
> (Item carried by (Entering unit) of type Flag Team 2) Not equal to (Picked item)

That condition is always true, since there is no "picked item".

I guess it should be more like "Hero has item of type".
 
Sorry.
I don't understand
"Or - Any (Conditions) are true
Conditions"

That lines confuse me..
What function did you choose to make that?
I'm very sorry.. You don't have to help me or anything.. I am not very good with this thing..
 
I just wanted to thank you both for your help!
It's very much appreciated.. Think we got it now ^^
Edit:
I seem to be still having trouble...

CapturedTeam2s
Events
Unit - A unit enters Team 1 Base <gen>
Conditions
And - All (Conditions) are true
Conditions
((Item carried by (Entering unit) of type Team 2 Flag) is in Team 1 Base <gen>) Equal to True
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
Actions
Game - Display to (All players) the text: Team 1 Has Captured...
Set Team1Score = (Team1Score + 10)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Team1Score
Unit - Order (Entering unit) to drop (Item carried by (Entering unit) of type Team 2 Flag) on (Center of Team 2 Flag <gen>)

Now it doesn't give points at all... ;_;
 
You are making things more complex for something you don't need to be complex, just use the trigger i showed u, its not complex at all and it works perfectly.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • 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

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top