• 🏆 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!

Trigger checking obstacles/terrain...

Status
Not open for further replies.
Level 25
Joined
Jun 5, 2008
Messages
2,572
I have an map which automaticaly teleports creatures when they enter an region, but i get an problem of them getting blocked or on an higher cliff level.
I use random point in region for teleport so i want to know can you check for obstacles or do i need to make some regions for teleport seperately?
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
I suggest that you make a set amount of regions where they can teleport to.
Onve they enter that region of yours a trigger will pick a random integer from 1 to how many regions you made.
When it's 1 teleport to region002, when it's 2 teleport to region001 etc.

Since you can't realy detect if the random point is a place where the guy can walk normaly.

~Good Luck
 
Status
Not open for further replies.
Top