194 posts I am really Japanese, but I am really not in Japan right now... joined
#1
Roleplaying Triggers?
Is there a quick way of making RP triggers? One person said you can export triggers out of a map. How exactly can I do that with a map...that...um...you can't open? I'm not really going to use it for a multiplayer map. Please just tell me .
roleplay triggers? like when u click on a unit and it spawns one at your spawner?... or where theres a shop with units and u choose... there both easy...
Event: Unit is selected Condition: owner of 'selected unit' equal to 'neutral passive' Action: create 1 'unit type of "selected unit"' at location of spawner
or Event: Unit gets purchase (something similar) Condition: owner of 'selling unit' equal to neutral passive Action: move 'sold unit' instantly to location of 'spawner'
i dont know if thats what u meant... but thats pretty much all u need, it should work for all of the units
Noobie.MapmakerNo.... the one where you type spawn ## (unit) and a unit spawns under your spawner.
Well, we have to venture further than "entered chat string" triggers, and go to "entered chat string, then type what character place they are at"
For example: Event: player types -spawn as a substring Condition: entered chat string equal to substring (8,11) (the 8,11 means where the player types "grunt", as you can tell, -spawn takes up the first 7 characters)
action: create 1 grunt at position of "spawner"
Note: to get to the "substring" condition, select "string comparison", then go to the second part of the condition, then in the "function" drop down list select substring