Substring
Use the event:
Event: When Player 1 (red) types a chat message containing -enemies as a substring
Action:
Create (Integer((Substring((Entered Chat String), 8, (Lenght of Enter Chatstring)))))) Footman for Player 1 (red) at... so on
should work
Actions:
Add 3 to Player 1 (red) Current lumber.
Add 5 to Player 1 (red) Current gold.
to get the code thing press the # at the top of the panel in the post thing :P
Hope it helps :P
I fiddled around abit with this and made a testmap:
It's quite easy but u need to correct it abit depending on the size of the doodad. Hope it helps,
DoodadSpellTrigger
EDIT: Change the "finishes casting an ability" to "starts the effect of an ability"
Didn't really know where to post this but here goes:
I am a semi-skilled;) triggerer lf work. I'm just bored with sitting around doing nothing and I really don't like terrain-work. So if you're in need of any help with triggers just holler at me:)
Zhirgoyt
"RPG" Scenarios!
Hello. I am planning on making an RPG-map (planning, just planning), and I was thinking that it would be fun to get some input as to what kind of map ppl would like. Some of the scenarios (if not all) might sound like they are not RPG-maps... and they might not become that...
2.
Events: After 1 seconds of game time
Conditions:
Actions:
Pick all players in player group All players and do actions:
If all are true then do else
If - Picked player is equal to user
Picked player is equal to player
Then - Create 1 Bomberman for picked player at...