|
Zorvok Newbie
Joined: 16 Dec 2006 Posts: 6
|
Posted: Thu Dec 23, 2010 11:44 pm
Aardwolf Map? |
I'm tryign to set up a capture window to capture the map on Aardwolf. The issue is, that the map isn't always the same amount of lines talll. Any ideas? Here's my output for it.
Code: |
<MAPSTART>
Basic Training
[ ] [*]|
---
|[ ]|
--- ---
|[#] [!] <!.|
--- ---
|[ ]|
[ Exits: E ]
<MAPEND> |
That one is 15 lines tall, while
Code: |
<MAPSTART>
Inside the Academy Foyer
---
|[ ]|{+}|
--- |
|[!] [ ] [*]|
--- ---
|[ ]|
--- ---
|[*] [#] <!.|
--- ---
|[ ]|
[ Exits: N E S W ]
<MAPEND> |
this one is 17 lines tall.
any ideas? |
|
|
|
mose Novice
Joined: 02 Dec 2010 Posts: 30
|
Posted: Fri Dec 24, 2010 12:18 am |
If that is the exact output, create a trigger that matches <MAPSTART>, and turn on capture to a window (#C+ <window>). Add a condition (#COND) to the trigger that matches <MAPEND> and turn off capture (#C-).
|
|
|
|
Zorvok Newbie
Joined: 16 Dec 2006 Posts: 6
|
Posted: Fri Dec 24, 2010 12:58 am |
Well I figured it out a little. It outputs it to the map window half the time. And then when I got into the script wizard, it ends up showing a million of the <MAPEND> conditions.
NVM I figure it out. Something I did was constatly telling it to recreate the condition, and that was intrupting everything. But it works now. Appreciate it :) |
|
|
|
Zorvok Newbie
Joined: 16 Dec 2006 Posts: 6
|
Posted: Fri Dec 24, 2010 1:10 am |
But my next question is. How do I gag the text from the original?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Dec 24, 2010 1:32 am |
Several ways to do it. Just like with #C+/#C-, there's #GAGON/#GAGOFF. If you want the map to be sent to you without blank lines, you can use SHORTMAP in Aardwolf to turn off the blank lines and then #GAGBLOCK to gag the entire map. To gag it line by line, use #GAGSPACE/#GAG.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Zorvok Newbie
Joined: 16 Dec 2006 Posts: 6
|
Posted: Fri Dec 24, 2010 1:47 am |
Ok I created two new triggers. One #GAGON for <MAPSTART> and one #GAGOFF for <MAPEND> but now gag won't turn off. =\
|
|
|
|
mose Novice
Joined: 02 Dec 2010 Posts: 30
|
Posted: Fri Dec 24, 2010 2:38 am |
You shouldn't need two new triggers. Do #GAGON the line before you do #C+ and do #GAGOFF the line after after #C-.
|
|
|
|
Zorvok Newbie
Joined: 16 Dec 2006 Posts: 6
|
Posted: Fri Dec 24, 2010 2:40 am |
I tried that, right after I saved the trigger it kept removing it for some reason. But Everything is kosher now. I restarted cmud, and it started working. thanks guys
|
|
|
|
|
|