Need help with -ap command
|
|
THecash | Date: Thursday, 15-Dec-2011, 7:07 AM | Message # 1 |
Grunt
Group: Users
Messages: 171
Awards: 0
Reputation: 116
Status: Offline
| Hi, i need help i need with the trigger i want to make an -ap command. its currently -ar i want it so that when blue types -ap it shows up the heros in the tavern but if blue doesn't type -ap it just stays the same and the question mark will still be there
HPMM=THecash
|
|
| |
Cou | Date: Thursday, 15-Dec-2011, 7:30 AM | Message # 2 |
Head Administrator
Group: Administrators
Messages: 1818
Awards: 4
Reputation: 7036
Status: Offline
| Maybe this coding script will help.
[ap] -ap [/ap]
Legendary Team All Starz pack: http://chf.ucoz.com/forum/49-3291-1
|
|
| |
THecash | Date: Thursday, 15-Dec-2011, 7:57 AM | Message # 3 |
Grunt
Group: Users
Messages: 171
Awards: 0
Reputation: 116
Status: Offline
| Sorry Cou i don't get that trigger
HPMM=THecash
|
|
| |
Vexslasher | Date: Thursday, 15-Dec-2011, 2:11 PM | Message # 4 |
Site Manager
Group: Site Management
Messages: 644
Awards: 1
Reputation: 1744
Status: Offline
| The way I would do that is pretty easy, just make 2 taverns 1 that just sells the random heroes and one that is ap heroes, when the player types -ap have a trigger that replaces the starting tavern of random heroes with the tavern with the ap heroes.
Code AP Heroes Events Player - Player 2 (Blue) types a chat message containing -AP as An exact match Conditions Actions Unit Group - Pick every unit in (Units of type Tavern Random Heroes) and do (Actions) Loop - Actions Unit - Replace (Picked unit) with a Tavern AP Heroes using The old unit's relative life and mana
|
|
| |
THecash | Date: Thursday, 15-Dec-2011, 7:39 PM | Message # 5 |
Grunt
Group: Users
Messages: 171
Awards: 0
Reputation: 116
Status: Offline
| Cheers vex Added (2011-12-15, 8:39 PM) --------------------------------------------- Vex Still that doesnt work beacuse If i Dont type anything the -ap tavern will still be there
HPMM=THecash
|
|
| |
Vexslasher | Date: Thursday, 15-Dec-2011, 9:46 PM | Message # 6 |
Site Manager
Group: Site Management
Messages: 644
Awards: 1
Reputation: 1744
Status: Offline
| It does work.. just don't put the ap tavern in the actual map, just have it made..
|
|
| |
THecash | Date: Thursday, 15-Dec-2011, 10:03 PM | Message # 7 |
Grunt
Group: Users
Messages: 171
Awards: 0
Reputation: 116
Status: Offline
| How am i supposed to do that. How do i not put the ap tavern in acutal map?
HPMM=THecash
|
|
| |
Vexslasher | Date: Thursday, 15-Dec-2011, 10:18 PM | Message # 8 |
Site Manager
Group: Site Management
Messages: 644
Awards: 1
Reputation: 1744
Status: Offline
| like don't place it in the map, just make the unit. Is this your first map?
|
|
| |
a_chinese_kid | Date: Thursday, 15-Dec-2011, 10:23 PM | Message # 9 |
Robotic Ninja
Group: Clan Members
Messages: 3952
Awards: 0
Reputation: 3157
Status: Offline
| lol don't put it on the play field put it on the other parts
|
|
| |
2DaYuDiE | Date: Friday, 16-Dec-2011, 5:50 PM | Message # 10 |
Ninja
Group: Clan Members
Messages: 879
Awards: 0
Reputation: 1415
Status: Offline
| Quote (Vexslasher) like don't place it in the map, just make the unit. Is this your first map? thats not a real question, is it? anyways... u need to keep the question marks shops on the map and the trigger will replace em with the taverns where u can pick skills... read a tutorial of the editor if u know that few about it maybe in a few years, or in another life, u will be able to claim u made a replica of chf again cya then
|
|
| |