variable in custom script message

Kayoss666

Member
Reaction score
7
okay. jass question: How do you get (((String(Skinks_Killed[(Player number of (Owner of (Killing unit)))])) + /6) + Skinks killed.) to display in here:
Custom script: call DisplayTextToPlayer( GetOwningPlayer(GetKillingUnit()), 0, 0, "HERE" ):confused:
 

TheLegend

New Member
Reaction score
10
JASS:
I2S(udg_Skinks_Killed[GetConvertedPlayerID(GetowningPlayer(GetTriggerUnit()))]) + "/6 Skinks killed."

replace the "HERE" with quotes with the one above
 

TheLegend

New Member
Reaction score
10
JASS:

I2S(udg_Skinks_Killed[GetConvertedPlayerID(GetowningPlayer(GetTriggerUnit()))]) + "/6 Skinks killed."

replace the "HERE" with quotes with the one above
 

TheLegend

New Member
Reaction score
10
:) it was solved long ago, hes new to jass and didnt know that player ones id was 0 so he didnt set the variable value properly
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top