🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
I'm trying to make a region that teleports an entered unit to 4 different type of region.. i know it has to do with integers but i just dont get it.. please help
Tell us more..
shall it work like a teleport system where you get asked about the location?
or should it just randomly teleport the unit to one of those 4 regions?
or maybe another option, i haven't mention yet?
Basically create 4 different regions, where ever you need them to be. Then, I believe you have to:
Actions:
Set RandomRegions (Variable, Array) to Region 1
Set RandomRegions (Variable, Array) to Region 2
Set RandomRegions (Variable, Array) to Region 3
Set RandomRegions (Variable, Array) to Region 4
Now for the casting Trigger:
Events:
Unit casts an ability.
Conditions:
Ability (being cast) = Teleport
Actions:
Move unit instantly to RandomRegions(Random number between 1 and 4).
If they choose, then look for a dialog box tutorial.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.