Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
How do i set note[player number of p] = blahblah
How do i set note[player number of p] = blahblah
10-09-2006, 06:40 AM
#1
Fr0zenLord
How would I set this
set note[Player number of P] = blahblah
? how would I do that in jass?
its like set udg_note[ SomethingIdontKnow ] = blahblah
10-09-2006, 10:47 AM
#2
blu_da_noob
set
udg_note
[
GetPlayerId
(
udg_P
)] =
blahblah
//udg_P is your player variable or whatever
Edit: Bare in mind, that would return a 0 based index (ie. Player 1 is 0, Player 2 is 1 etc), so you might want to add 1.
10-10-2006, 02:08 AM
#3
Fr0zenLord
thanks, im trying it now ^_^