- Joined
- Apr 7, 2020
- Messages
- 55
Can you please tell me how to reset the landscape triggered by the trigger? If you can throw off an example! I would be grateful for your help!
Thank you for your feedback. I already use it. But I cannot adjust the height and depth((((Everything related to the "landscape" can be found in the Environment category in the Actions:
^ You can only use tiles that your map is already using in it's tileset.
Actions
Environment - Change terrain type at (Center of (Playable map area)) to Lordaeron Summer - Dirt using variation -1 in an area of size 1 and shape Circle
You can't do anything to cliffs/water but you can change the terrain type and destroy units/destructibles.
Zeroing the terrain does not work when trying to use this method. There are no articles on the Internet on how to return a landscape to its original meaning. It baffles the work doneUse the crater deformation Actions to create hills/pits. You can't create/remove Cliffs though.
If you want, I can throw off the workUse the crater deformation Actions to create hills/pits. You can't create/remove Cliffs though.
Используйте Действия деформации кратера, чтобы создать холмы / ямы. Однако вы не можете создавать / удалять скалы.
Now I realized my mistake! Thank you!There's two functions to do so:
Actions
Environment - Stop (Last created terrain deformation) over 0.00 seconds
Environment - Stop all active terrain deformations instantly
If you wanted to store a terrain deformation and remove it at a later time you could do this:
Actions
Environment - Create a 0.50 second Permanent crater deformation at (Center of (Playable map area)) with radius 512.00 and depth 64.00
Set VariableSet deformation = (Last created terrain deformation)
Wait 2.00 seconds
Environment - Stop deformation over 0.00 seconds
I hastened to answer. I repent! It won't work if you create multiple regions over a long period of time.There's two functions to do so:
Actions
Environment - Stop (Last created terrain deformation) over 0.00 seconds
Environment - Stop all active terrain deformations instantly
If you wanted to store a terrain deformation and remove it at a later time you could do this:
Actions
Environment - Create a 0.50 second Permanent crater deformation at (Center of (Playable map area)) with radius 512.00 and depth 64.00
Set VariableSet deformation = (Last created terrain deformation)
Wait 2.00 seconds
Environment - Stop deformation over 0.00 seconds
Can I lay out a card? There's a succession of trigger. Thanks for the help!How are you doing it exactly? How To Post Your Trigger
Thank you!You can attach your map/a demo map that contains only the triggers, post all of the triggers, screenshots, etc. Whatever you'd like to do.
Sorry, but what version of Warcraft do you have? Can't get over the language barrier. Card does not start((((How To Post Your Trigger
TopHow To Post Your Triggers I've seen many and many members around the site who need help with their triggers but don't know how to post their triggers in a thread, especially the newcomers. Posting your triggers in a thread is a very important matter when you're asking for a help from other...www.hiveworkshop.com
So after testing it seems like terrain deformations are currently bugged. This Create trigger works fine but the Clear trigger doesn't Stop them:
Create deformations
Events
Player - Player 1 (Red) types a chat message containing create as An exact match
Conditions
Actions
For each (Integer DeformationLoop) from 1 to 50, do (Actions)
Loop - Actions
Set VariableSet DeformationPoint = (Random point in (Playable map area))
Environment - Create a 0.01 second Permanent crater deformation at DeformationPoint with radius 512.00 and depth 64.00
Custom script: call RemoveLocation (udg_DeformationPoint)
Set VariableSet DeformationIndex = (DeformationIndex + 1)
Set VariableSet Deformation[DeformationIndex] = (Last created terrain deformation)
Unfortunate but that's Warcraft 3 for you...
Clear deformations
Events
Player - Player 1 (Red) types a chat message containing clear as An exact match
Conditions
Actions
For each (Integer DeformationLoop) from 1 to DeformationIndex, do (Actions)
Loop - Actions
Environment - Stop Deformation[DeformationLoop] over 0.00 seconds
Set VariableSet DeformationIndex = 0
Thanks again for your help. The problem was a trigger leak in Warcraft 1.26. After finishing the terrain change, the terrain deformation disappears from the map and cannot be tracked! By replacing the warp variable with a point and using the inverse warp we can completely align the map. Add exampleI'm on the latest patch. Anyway, the map isn't anything special since it doesn't work. It just has those two triggers I posted.