- Joined
- Oct 12, 2004
- Messages
- 109
Hey guys,
I've seen lots of posts about the GetLocalPlayer() function. And I really want to use it for my map except im not quite the expert on JASS. Basically im making an underwater part of the map. And want to make a fog effect for one person. After doing lots of researching i found that it isnt possible to create an effect like this using GUI. (Which is what im good with) I know JASS is so much better which is why im going to be learning it over the summer. But this is bugging me so i thought i would ask you JASS experts for help.
Basically what I want to do is set an underwater effect on someone when they enter a region. I know how to set the variable to the player but then i need the code to assign the mask to that player or playergroup. Prefferably i would like it so it just assigns it to the player group so that i can enter/exit the players out of the group whenver i want.
The effect are this.
Thanks
-bbfreak
I've seen lots of posts about the GetLocalPlayer() function. And I really want to use it for my map except im not quite the expert on JASS. Basically im making an underwater part of the map. And want to make a fog effect for one person. After doing lots of researching i found that it isnt possible to create an effect like this using GUI. (Which is what im good with) I know JASS is so much better which is why im going to be learning it over the summer. But this is bugging me so i thought i would ask you JASS experts for help.
Basically what I want to do is set an underwater effect on someone when they enter a region. I know how to set the variable to the player but then i need the code to assign the mask to that player or playergroup. Prefferably i would like it so it just assigns it to the player group so that i can enter/exit the players out of the group whenver i want.
The effect are this.
- Environment - Set fog to style Linear, z-start 10.00, z-end 5000.00, density 0.02 and color (5.00%, 70.00%, 100.00%)
Thanks
-bbfreak