Integer becomes X, create unit

  • Thread starter Thread starter carfo
  • Start date Start date
C

carfo

Guest
Is it possible that once my leaderbroad interger array becomes a certain value a unit gets created? thx in adance
 
Yes. I'm not so sure what the actual trigger is, i dont have WE open.

I think that there would be something like if kills is equal to 10 then create (unit) for (player).

There is something in the trigger editor like this so it is possible.

Good luck with whatever it is you're doing (my guess: TD?)

~Jindo
 
that would make sense...except i can't find the trigger that looks like it. i've gone up and down the list a million times
 
Code:
Untitled Trigger 001
    Events
        Game - real becomes Equal to 10.00
    Conditions
    Actions
        Unit - Create 1 Footman for Player 1 (Red) at (Position of (Triggering unit)) facing (Position of (Triggering unit))

Ok that might work but U have to do this...

For ur leaderboard..every time u add a number to it..add to the variable real and the other 1's which is type real with no array

Make many variable of type real with no array and make many of that trigger above..just change the player..and variable

I.E:
Code:
Untitled Trigger 001
    Events
        Game - real2 becomes Equal to 10.00
    Conditions
    Actions
        Unit - Create 1 Footman for Player 2 (Blue) at (Position of (Triggering unit)) facing (Position of (Triggering unit))

And u get the point..I didn't test this and I can't guarantee u no trigger lag... just try it out ;) :D

[edit]
 
BTW Krakka your way does work and i'm in fact using it in a different way than you said. same idea tho.
 
Krakka said:
Good for u :D..

I think it mentioned in the rules, but please don't post, posts like these to get your post count up. (Well I think that's what you were trying to do...)

Anyway, try something like:
Code:
Events:
*not completely sure dont have WE open* 
Conditions:
*Your vairable* equal to *your number*
Actions:
Create 1 *your unit* at *your region* for *your player*.
 
that is one cool avatar Krakka...

Well.. I think it would be something.. like :

Kills..
Events
Game - Kills becomes Equal to 10.00
Conditions
Actions
Unit - Create 300 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
 
husky_003 said:
I think it mentioned in the rules, but please don't post, posts like these to get your post count up. (Well I think that's what you were trying to do...)

Anyway, try something like:
Code:
Events:
*not completely sure dont have WE open* 
Conditions:
*Your vairable* equal to *your number*
Actions:
Create 1 *your unit* at *your region* for *your player*.

Wasn't that..i wrote such a complicated trigger...and maybe wouldn't work...i edited it and took it off :o
Becuz Carfo just posted that he got it....

YE!!! IT actually worked...(at least thats wat Carfo says...ill edit the other post with the triggers :D
 
two events that you can use in this situation

1) real number becomes equal to 10
2) every 1 second

variables such as integer can't be used to trigger an event but you can use event, every 1 second, condition (integer array 1) is equal to 10 Actions: blah blah blah

i hope that helps out with all the Events "*i dunno dont have we open*" posts

^^ mines not open either by the way...
 
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