• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Trigger checking obstacles/terrain...

Status
Not open for further replies.
Level 25
Joined
Jun 5, 2008
Messages
2,573
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