HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger help (Variables, leaderboard)

04-14-2006, 04:47 AM#1
samir555
Help with triggers
Im making a new map and i want to know how to check a value of say a certain amount of kills. Also how to properly set up a multiboard that contains lives and kills. My variable array aint workin out so i need some help with it. ANyone who could help it would be appreciated.
04-14-2006, 05:29 AM#2
mmx2000
For kill tracking:
1.) Create a Global integer array: Kills
2.) Create Trigger:
EVENT:
Unit - A Unit Dies
ACTIONS:
Set Kills[PlayerNumber(Owning of Killing Unit)] = Kills[PlayerNumber(Owner of Killing Unit)] +1

For multiboard, it would help if you post your code.

Also, the search button is a wonderful thing :) These tutorials might help you:
Basic JASS Multiboard Tutorial
GUI Multiboard Tutorial

Btw... this is really random but... does the name Hoidas mean anything to you? Just that I know a Samir irl >.>
04-14-2006, 02:33 PM#3
samir555
No it doesnt but ok whatever and thanks for the help