Search found 3 matches

by Greenwiz34
December 22nd, 2017, 11:19 pm
Forum: WML Workshop
Topic: An event that can auto modify terrain but end with question
Replies: 8
Views: 2733

Re: An event that can auto modify terrain but end with quest

Hey, I finally got it working how I wanted! Here's what I ended up with: [store_locations] terrain=X*,X*^*,*^X* # here is the filter criterion [and] x,y=$x2,$y2 radius=3 [/and] variable=wall [/store_locations] {FOREACH wall rh} [set_variable] name=temp_x value=$wall[$rh].x [/set_variable] [set_varia...
by Greenwiz34
December 19th, 2017, 3:49 am
Forum: WML Workshop
Topic: An event that can auto modify terrain but end with question
Replies: 8
Views: 2733

Re: An event that can auto modify terrain but end with quest

So, I tried what you suggested, but it limited the effect to the targeted hex only, no AoE.
I'm thinking my store_location block isn't doing what I want, but I don't know enough about WML to have any clue how to fix it...
by Greenwiz34
December 17th, 2017, 6:50 am
Forum: WML Workshop
Topic: An event that can auto modify terrain but end with question
Replies: 8
Views: 2733

Re: An event that can auto modify terrain but end with quest

Hey, after I saw this thread earlier today, I started trying to add a similar effect to explosive (AoE) attacks from Dugi's LotI for my own use. This has given me the best results so far: [if] [variable] name=damage greater_than=108 # If the damage is higher than most common attacks can get, the ran...