How do I remove all NPC's from a map at map initilization?

  • Thread starter Thread starter Zamiel
  • Start date Start date
Z

Zamiel

Guest
(Yes, I did a search. Yes, I tried a multitude of things.)

How do I remove all NPC's from a map at map initilization?
(I can't use regions; there must be another way.)

So far it seems I have to make all the NPC's on the map the "triggering unit"... Unless I can somehow declare a variable that include all the NPC's on the map? I'm so confused. =(

I also need to remove all NPC buildings as well, but I figure I will be able to figure that part out once I get the first step done. ><
 
ummm...why are they there if you dont want them too?


are you talking about the castles and peons?
 
Zamiel said:
(Yes, I did a search. Yes, I tried a multitude of things.)

How do I remove all NPC's from a map at map initilization?
(I can't use regions; there must be another way.)

So far it seems I have to make all the NPC's on the map the "triggering unit"... Unless I can somehow declare a variable that include all the NPC's on the map? I'm so confused. =(

I also need to remove all NPC buildings as well, but I figure I will be able to figure that part out once I get the first step done. ><

If you want to make sure that you dont get any town halls and workers at the beginnning, you just have to make a custom trigger. You could make something simple like this:
Code:
Untitled Trigger 002
    Events
        Map initialization
    Conditions
    Actions
        Game - Display to (All players) the text: Welcome to etc.
This trigger displays a text at the start of the mapwhere you could for example present your map. If you want to be certain you could disable the meele triggers or delete thoose already there. Then it is no longer a meele map, and you are free of townhalls and stuff :D

To DDRtits
You write so much crap. Only write if you think you have a solution, else shut the f&*@ up! :mad:
 
if u dont want the town als and peons its much simpler than what bananskral said, all you do is delete the melle initialization thing and they wont start up, to make no town halls you can just put a starting location ontop of another and townhalls wont come up
 
First of all Bananskral, we do not allow bad language on this site. Secondly, DDRist has a perfectly good question, one I have as well. Thirdly, the help you gave is not only completely useless, but irrelevant. If you keep this up, do not be suprised when you get banned.

Anyway, do you want to make it so all units that are controlled by a player that is not playing to be removed? because there are a lot of people asking for this. Just make a trigger that runs at initialization that checks each player and whether he is playing, and remove all of his units if he isn't. This will remove all of his units, building included.
 
AgentPaper is right... u not allow to talk like that to no one.
DDRtists post the right thing but Zamiel didnt tell much about it...
 
DDRtists:

ummm...why are they there if you dont want them too?

That's not the point. I want them removed by a trigger; removing them manually is not an option.

are you talking about the castles and peons?

No. NPC's = Non player characters. In other words, I was referring to the creeps and the creep buildings (Goblin Laboratory's and such).

Bananskral:

What does a text message have to do with removing creeps? I'm very confused by your post.

und34d-rul3:

That doesn't help. I want to remove the creeps by a trigger.

AgentPaper:

I wanted to just remove creeps.



I apologize if I was vague in my initial post. I should have included more detail. Help me please. =p
 
Try Unit group - Pick all units in (Units owned by(Neutral Hostile) and do actions-
Remove (Picked unit) from the game
Try Unit group - Pick all units in (Units owned by(Neutral Passive) and do actions-
Remove (Picked unit) from the game

Why can't you just get rid of them in WE? There might be a better solution.
 
That worked perfectly. I can't believe I didn't find that on my own. Thank you!

It's kind of a secret as to why I have to have it done by triggers. =p

Anyways, I duplicated the trigger for Neutral Passive, and it works, but with one flaw; it also removes the gold mines. What would be the most simple way to avoid this?

Edit - I figured it out. =p
 
Next question - how do I reveal the whole map to a player? I did a search in actions and didn't find anything...

(Disabling the fog of war does not reveal the map.)
 
Please ask different questions in a seperate posts. Please try to be descriptive of what your problem is in the title of the post. Noob has questions or next question are not within the guidelines as post titles. Thanks - help us to help you :D
 
right nect to remove fog of war is remove black mask, use that one too. for specific players use another one near it, creat visibility modifier, initially on, area playable map area, and for whichever player you want.
 
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