| 10-01-2003, 07:33 AM | #1 |
Is there any way i can use region variable in event-Unit enters in region? it's seems that events always must work with real ,already created region and in the Event dialog shows that there is no variable of this type.Of course i presume that this type must be a region but... If someone can help me i realy grateful. |
| 10-01-2003, 01:46 PM | #2 |
You have to use them in conditions, which isn't a bad thing. |
| 10-01-2003, 02:40 PM | #3 |
I can't create working trigger in any way i try. first i try event->unit enter in(triggering region) and it wont work. second option in region dialog is "create region" but obviously i don't need that. can you write some sample trigger,couse i realy can't imagine how this will be done? |
| 10-01-2003, 04:47 PM | #4 |
Tell us what EXACTLY you wan do for us to be able to help you. here is a trigger for region simple quite useless if u know a little about trigger but as long as i don't know what u wana do and why? i can do no more..... event: unit enter region <Region01> condition: entering unit = footman action: kill footman the <Region01> is not a variable but just a region u created but it is shown into the variable field as variable. |
| 10-02-2003, 06:00 AM | #5 |
I'am curently working on RPG map and i already created a random creep generator that summons creeps in several regions.The creep level is depending on your hero's level and their type deppends on map area.They respawn ,let's say,every 1 min.(if you already kill existing creeps in that region ,of course).Right now i try to create a random quest generator that create random mission type.first ,the location where you receive mission must be random ,mission type also must be random(bounty mission,rescue mission,escort mission,delivery mission etc.)The only problem ,as i say in my first post,is that you can assign a real region to a region variable but you cannot access it in "event-unit enters in region" dialog.So you MUST work only with real regions.Is there any way i can use region variable in that event,not real region ,couse right now i have to write a trigger for every possible region where i can receive a mission. |
