• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Last Trigger Help for Map TO LAUNCH!

Status
Not open for further replies.
Level 4
Joined
Aug 17, 2005
Messages
82
This is the last trigger help i will ask for a long time...and i need a bit of help :wink: I need someone to tell me how can i do the following
Event: Player types in (-Noplayeratk)
Conditions:
Actions:(This is were im stuck(Dont allow Players(Excluding Neutral Hostile) to attack all units owned by (Triggering Player)).
Help ...Please
 
Level 2
Joined
Sep 6, 2005
Messages
9
or make a seperate trigger that is turned on when they type that
example
Code:
Trigger - No Attack
events - a unit is issued an order
conditions - issued order equal to attack
actions = make triggering unit stop
dont make it initally on
or to make it player specific...
Code:
Trigger - No Attack Red
events - a unit is issued an order

conditions - issued order equal to attack

actions - if - owner of triggering unit equal to neutral hostile  - if - owner of unit being targeted equal to player 1 red
- then - order triggering unit stop
else - if - owner of triggering unit equal to player 1 - if - owner of unit being targeted equal to neutral hostile
 - then - order triggering unit stop
 
Level 2
Joined
Jul 23, 2005
Messages
24
skullslasher said:
This is the last trigger help i will ask for a long time...and i need a bit of help :wink: I need someone to tell me how can i do the following
Event: Player types in (-Noplayeratk)
Conditions:
Actions:(This is were im stuck(Dont allow Players(Excluding Neutral Hostile) to attack all units owned by (Triggering Player)).
Help ...Please

kay lemme get this straight... you want it to not be an alliance but you want to make its so they dont attack players units? I think if there is a trigger to change the players units to targeted as invinceable, thru using unit group, thats what I would doo. but if it is a simple alliance then a simple alliance trigger will do for this part...
 
Level 4
Joined
Aug 17, 2005
Messages
82
TheLordOfTerror said:
skullslasher said:
This is the last trigger help i will ask for a long time...and i need a bit of help :wink: I need someone to tell me how can i do the following
Event: Player types in (-Noplayeratk)
Conditions:
Actions:(This is were im stuck(Dont allow Players(Excluding Neutral Hostile) to attack all units owned by (Triggering Player)).
Help ...Please

kay lemme get this straight... you want it to not be an alliance but you want to make its so they dont attack players units? I think if there is a trigger to change the players units to targeted as invinceable, thru using unit group, thats what I would doo. but if it is a simple alliance then a simple alliance trigger will do for this part...
Eh i didnt put enough detail heres what i need and ive tryed 40time (exact Count)but cant get it
when a player types in -PVpoff(Example)\
Make it that other Players cant attack him like Player 2 3 4 5 6 7 8 9 10.(The creeps can attack him mind you)
Basicly i want it so that no player can attack the Triggering PLayers Units.
Which leadds to PvpOn which would be allowing units(Any Player to attack him)
im trying to create a map where it can be a soloing player V.S Player RPG...but at the same time for the players that dont like fighting against each other so that they cant be involved in the fights they are having.I already added Unallying and allying so it can be in teams i just need help with those 2 triggers.Am i more clear? :)
 
Status
Not open for further replies.
Top