| 06-04-2004, 11:45 AM | #1 |
Can't manage to make a decent one... I have this already: Code:
Events - Player 1 types <Empty String> as exact match - Player 2 types <Empty String> as exact match - Player 3 types <Empty String> as exact match - Player 4 types <Empty String> as exact match - Player 5 types <Empty String> as exact match - Player 6 types <Empty String> as exact match - Player 7 types <Empty String> as exact match - Player 8 types <Empty String> as exact match Conditions - Substring(Entered chat string), 1, 6) Equal to '-give ' Actions - If/Then/Else = Conditions -- Player(Integer(Substring(Entered chat string), 7, 7)) Equal to bIsPlaying = Then -- [Show msg to player: u recieved x money from [playername]] -- [Show msg to giving player: u gave x money to [playername]] -- [Gives the player the gold] = Else -- nothing But I cant manage to substract it from the giving player... I tried this: [Add gold-gold-gold from giving player, but instead I lose it, I 'recieve' the gold I give... EDIT: -give x yy 12345678910 |
| 06-04-2004, 03:39 PM | #2 |
Why don't you change the even to Player types -give as a substring, then check for the player number and gold amount with a substring comparison. Also, I'm not sure if that is your actual trigger, but change the u to you, You want people to think you are somewhat professional, and not some AOLing 12 year old. |
| 06-05-2004, 12:42 PM | #3 |
You know i have a question for YOU! Why do you even need this trigger? :\ You can always go to the "Allies" and send gold from there |
| 06-06-2004, 03:33 PM | #4 |
What about small amounts? 1-99 gold? |
| 06-06-2004, 05:38 PM | #5 |
Well you can alway do this: 1. Open the WE. 2. Look up and see the "Advanced" button. 3. Press it and search for the Gameplay Constants. 4. Click on it and there you have it. You can change anything there. The first two lines are about Ally trade stuff just tick the Use Custom Gameplay Constants and change enything you want ^_^ |
