• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How do I limit boundaries to a certain area?

Status
Not open for further replies.
Level 5
Joined
Feb 23, 2009
Messages
74
Like Mad Balls arena, there are maps where you can't view the entire map in-game. But the actual map itself is much larger than the boundaries set.

So to make a more intriguing and realistic RPG, I want to be able to use it for seperate players. Is it an all player Trigger and does it require JASS?

Thanks in advance.
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
This can be done only with triggers. Here is action example:

  • For each (Integer A) from 1 to 12, do (Actions)
    • Loop - Actions
      • Camera - Set the camera bounds for (Player((Integer A))) to Region <gen>
or

  • For each (Integer A) from 1 to 12, do (Actions)
    • Loop - Actions
      • Camera - Extend the camera bounds for (Player((Integer A))) west by 0.00, east by 0.00, north by 0.00, and south by 0.00
 
Level 5
Joined
Feb 23, 2009
Messages
74
This can be done only with triggers. Here is action example:

  • For each (Integer A) from 1 to 12, do (Actions)
    • Loop - Actions
      • Camera - Set the camera bounds for (Player((Integer A))) to Region <gen>
or

  • For each (Integer A) from 1 to 12, do (Actions)
    • Loop - Actions
      • Camera - Extend the camera bounds for (Player((Integer A))) west by 0.00, east by 0.00, north by 0.00, and south by 0.00

Thanks a lot
 
Status
Not open for further replies.
Top