Setvw war
#1

I have a working system of war. But if you give/attack a particular turf, I set the vw 1, but if I die sets vw 0. I wish that when you kill you may not change from vw 1 in 0. to remain until vw 1, ends the war.

http://pastebin.com/SWLQP9Qy
Reply
#2

Quote:
Originally Posted by Jimmi
Посмотреть сообщение
I have a working system of war. But if you give/attack a particular turf, I set the vw 1, but if I die sets vw 0. I wish that when you kill you may not change from vw 1 in 0. to remain until vw 1, ends the war.

http://pastebin.com/SWLQP9Qy
Hello.
So, just remove this part, where You set vw to 0 in OnPlayerDeath callback, and it will remain 1.
Obviously, set it to 0 in proper part of code responsible for end of the event.

Greetings
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)