Post by Hells Angel on Nov 25, 2005 17:25:14 GMT 1
Okay I've seen a lot of people put hundreds of triggers for maps just so people can ally people. They put triggers for each person to ally each person.
But all you need is one trigger to ally a certain player for everyone
Note: This is a simple tutorial but it will help out in most RPG's
Ally Player One:
Events:
Player - Player 2 (Blue) types a chat message containing ally player one as An exact match
Player - Player 3 (Teal) types a chat message containing player one as An exact match
Player - Player 4 (Purple) types a chat message containing player one as An exact match
Player - Player 5 (Yellow) types a chat message containing player one as An exact match
Player - Player 6 (Orange) types a chat message containing player one as An exact match
Player - Player 7 (Green) types a chat message containing player one as An exact match
Player - Player 9 (Gray) types a chat message containing player one as An exact match
Player - Player 10 (Light Blue) types a chat message containing player one as An exact match
Player - Player 11 (Dark Green) types a chat message containing player one as An exact match
Player - Player 12 (Brown) types a chat message containing player one as An exact match
Actions:
Player - Make (Triggering player) treat Player 1 (Red) as an Ally with shared vision
Unally Player One:
Events:
Player - Player 2 (Blue) types a chat message containing unally player one as An exact match
Player - Player 3 (Teal) types a chat message containing unally player one as An exact match
Player - Player 4 (Purple) types a chat message containing unally player one as An exact match
Player - Player 5 (Yellow) types a chat message containing unally player one as An exact match
Player - Player 6 (Orange) types a chat message containing unally player one as An exact match
Player - Player 7 (Green) types a chat message containing unally player one as An exact match
Player - Player 9 (Gray) types a chat message containing unally player one as An exact match
Player - Player 10 (Light Blue) types a chat message containing unally player one as An exact match
Player - Player 11 (Dark Green) types a chat message containing unally player one as An exact match
And there you have it. So instead of having 12 or so triggers for each player now you only have around 24 in total ;D
But all you need is one trigger to ally a certain player for everyone
Note: This is a simple tutorial but it will help out in most RPG's
Ally Player One:
Events:
Player - Player 2 (Blue) types a chat message containing ally player one as An exact match
Player - Player 3 (Teal) types a chat message containing player one as An exact match
Player - Player 4 (Purple) types a chat message containing player one as An exact match
Player - Player 5 (Yellow) types a chat message containing player one as An exact match
Player - Player 6 (Orange) types a chat message containing player one as An exact match
Player - Player 7 (Green) types a chat message containing player one as An exact match
Player - Player 9 (Gray) types a chat message containing player one as An exact match
Player - Player 10 (Light Blue) types a chat message containing player one as An exact match
Player - Player 11 (Dark Green) types a chat message containing player one as An exact match
Player - Player 12 (Brown) types a chat message containing player one as An exact match
Actions:
Player - Make (Triggering player) treat Player 1 (Red) as an Ally with shared vision
Unally Player One:
Events:
Player - Player 2 (Blue) types a chat message containing unally player one as An exact match
Player - Player 3 (Teal) types a chat message containing unally player one as An exact match
Player - Player 4 (Purple) types a chat message containing unally player one as An exact match
Player - Player 5 (Yellow) types a chat message containing unally player one as An exact match
Player - Player 6 (Orange) types a chat message containing unally player one as An exact match
Player - Player 7 (Green) types a chat message containing unally player one as An exact match
Player - Player 9 (Gray) types a chat message containing unally player one as An exact match
Player - Player 10 (Light Blue) types a chat message containing unally player one as An exact match
Player - Player 11 (Dark Green) types a chat message containing unally player one as An exact match
And there you have it. So instead of having 12 or so triggers for each player now you only have around 24 in total ;D