Need more help with trigger editor

  • Thread starter Thread starter wc user
  • Start date Start date
W

wc user

Guest
HERES MY LAST POST
wc user
Guest Posts: n/a

need Help wih trigger editor!!!

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

Im trying to make a map where units spawn every few seconds like a footmen wars map and i need a trigger thats sets which type of unit appers

can u help me out?

its reign of chaos if thats makes a difference




AgentPaper :


heres a trigger to make a footman in a random spot every 30 seconds

Code:
Spawn Footman
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 1 Footman for Player 1 (Red) at (Random point in (Playable map area)) facing Default building facing degrees

go ahead and change the time/unit type/number of units as needed
also note that if you make 5 units at a time it will put them in the same random spot.
 
i need help makin it so that if a unit enters a regon that type of unit will be the one spawned
 
ok thats a little more tricky, heres the trigger again
Code:
Spawn Footman
    Events
        Unit - A unit enters 1 <gen>
    Conditions
    Actions
        Unit - Create 1 (Unit-type of (Triggering unit)) for Player 1 (Red) at (Random point in (Playable map area)) facing Default building facing degrees
also why did u repost this?
 
srry i reposted this i wanted it to b read


heres how i want the triggger to work in game

a unit eners a reigon
the unit is killed
every 4 seconds create a unit equal to the unit that originally entered the regon
 
i also want to make it so that a new unit can enter the reigon and
change the type of unit being spawned periodically
 
ok thats more complicated
Code:
Spawn Footman
    Events
        Unit - A unit enters 1 <gen>
    Conditions
    Actions
        Unit - Create 1 (Unit-type of (Triggering unit)) for Player 1 (Red) at (Random point in (Playable map area)) facing Default building facing degree
Code:
Spawn
    Events
        Time - Every 4.00 seconds of game time
    Conditions
    Actions
        Unit - Create 1 Unittype for Player 1 (Red) at (Random point in (Playable map area)) facing Default building facing degrees
and have the second one initially off

if you want to have that happen for multiple units at the same timw it gets really difficult, with arrays and more variables and ill only figure that out if you need it
 
also to make your post go back up to the top just post on it again (called bumping) but only do it after a day or so or if it isnt on the front page of the forum maybe
 
I Hope this is It ;)

heh... I Think i know what you wanted! here it is!
Code:
Spawn Footman
    Events
        Time - Every "Your Seconds" seconds of game time
    Conditions
    Actions
        Unit - Create 1 Footman for Player 1 (Red) at (Random point in "Your Region" <gen>) facing Default building facing degrees
Code:
Unit Type
    Events
        Unit - A unit enters "Your Region Here" <gen>
    Conditions
    Actions
        Set SetUnitType = "Your Unit"
This i hope is what you want, but i have question- Why you need this ? and what does it gives that the unit turns into Footman ? I Didn't tested this but i think it work :)
---Edit---
Sorry dont take this **** i maked this after all other posts how u see :)
 
ok, this is hard...

events-unit enters region
actions-enable trigger 2

the trigger below is not initially on

events
every 4 seconds of game time
actions create1 type of last triggering unit in center of regionX
 
ill try it out now
the reson i want know is
im currently makeing a footmen wars type map for reing of chaos because i am unsatisfied with the choice of heros so im completelly makeing a new one from scratch
 
well the trigger i poisted is for the frozen throne map editor, i highly reccomend gettint the frozen throne as it is much easier to make maps in there, and and overall the game is really fun, plus monay maps online nede frozen throne to play
 
I fed up with all the map makin problems of ROC im gonna buy TFT as soon as i can
 
thans for putting me in creds(if it works in tft) my name ingame is same as here and if u ever need more help with it just ask, and yes the trigger does worf in tft i tested it, not sure why it wont in roc but thats jus roc for u so
 
General chit-chat
Help Users
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content
  • The Helper The Helper:
    I wonder how all these bots that sit on the lastest content page get passed anubis or maybe they did not but they are just registering on whos online
  • The Helper The Helper:
    showing up on whos online not registration
  • Ghan Ghan:
    The first gate is stopping all the bots that don't execute javascript.
  • Ghan Ghan:
    That's the main thing with Anubis - no Javascript, no site. Typically you can still get the site to load without Javascript.
  • The Helper The Helper:
    I remember the whole javascript thing, question - how many real people disable that?
  • The Helper The Helper:
    Hell I guess I could go back on the stats to know that - we probably capture that and we know the before and after
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/

The Helper Discord

Staff online

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top