Please I need one more help just to have my map posted

fokyip

Member!
Joined
Nov 23, 2005
Messages
17
Reaction score
0
I servely have this problem of what i can't figure out. I created a bunch of custom heroes and halls. When I test the game a hero can be created more than once which i only want to limit to one. I also have a problem with the custom halls when they are built and when my trigger for victory and defeat condition kick in, and you know how the text pops up saying you will be revealed to you enemies unless you build a hall even though a hall is there. I have check in to gameplay constants modified the nessesary changes to heros, altars, and the tier 1 - 3. and I have also made sure that the custom heros themselves have tech tree requirements for teirs of the halls. Is there anyone that can help out and figure what I have missed??
 

Father_Chaos

BattleForums Member
Joined
Nov 23, 2005
Messages
364
Reaction score
0
Well, for the heroes use the action at game initialization:
Code:
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
For halls, it is surely because of a melee game initialization trigger, remove the ones you do not need and the message should not appear...
 

fokyip

Member!
Joined
Nov 23, 2005
Messages
17
Reaction score
0
yea I forgot to add that part of the post in I do have limit heroes to 1 per hero-type. The only thing i removed from the melee tirgger is the starting units for every player and victory and defeats condition where i moved this tigger to the another location and its initial on and enabled and mapinitialization. That y its killing me cause it don't make any else when these tigger are in.
 

Father_Chaos

BattleForums Member
Joined
Nov 23, 2005
Messages
364
Reaction score
0
Hmmm... can you explain more clearly? Don't just move the trigger, remove all the melee game actions that you do not need...
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
It would also help to post the triggers that might have problems and not try to explain them in a way that we cannot understand :(.
 

fokyip

Member!
Joined
Nov 23, 2005
Messages
17
Reaction score
0
this is gonna take alot of my typing skills but I'll gladly do it to have my map running an good to go.
1st Category
Events
Map Initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove Creeps and critters from used start location (for all players)
Melee Game - Run melee AI scripts (for computer players)
2nd Category
This im not really gonna type out cause i know its not gonna affect it its merely to create a dialog button
3rd Category
This is category is when you click on the button while the starting game where I have my custom units created
ex:
if ( all conditions are True) then do (Then actions) else do (else actions)
if conditions
(clicked dialog button equal to Dialog Button(0)
then - actions
Unit - Create 1 town hall for triggering players (at center of (region centered at ((triggering player) start location) with size (0.00, 0.00))) facing ((Triggering player) start locations
Unit - Create 5 peasents for triggering players (at center of (region centered at ((triggering player) start location) with size (0.00, 0.00))) facing ((Triggering player) start locations

this would step would be repeated 6 times for other races. After this dialog button stuff this is where i moved the victory and defeat conditions

Wait 30.00 game time seconds
Melee Game - Enforce victory/defeat conditions (for all players)

and to refresh on what the problem is because I can create a same hero more than once and the town hall is not consider a town hall in the game.
 

Father_Chaos

BattleForums Member
Joined
Nov 23, 2005
Messages
364
Reaction score
0
You could have just right-clicked your trigger and selected "Copy as text", and then paste it here :grunt :rofl2!

I think it is the "Melee Game - Enforce victory/defeat conditions (for all players)" that makes it say "you will be revealed...". If it is not that, then delete the Melee Game actions one by one to see which one causes the problem.

For the heroes... hmmm... maybe the only solution would be to add a trigger... For example, create these two triggers:
Code:
Unavailability
    Events
        Unit - A unit Finishes training a unit
    Conditions
        ((Trained unit) is A Hero) Equal to True
    Actions
        Player - Make (Unit-type of (Trained unit)) Unavailable for training/construction by (Owner of (Trained unit))
Code:
Availability
    Events
        Unit - A unit Dies
    Conditions
        ((Dying unit) is A Hero) Equal to True
    Actions
        Player - Make (Unit-type of (Dying unit)) Available for training/construction by (Owner of (Dying unit))
Hope this helped ;).
 

NewPosts

New threads

Top