- Joined
- Jul 2, 2005
- Messages
- 60
Hello folks,
i need to get the damage per level and so on into an array ...
globals
private TC array users
private integer total = 0
private timer t = CreateTimer()
private real array damage
private real array range
private real array time
private constant integer id = 'AHbn'
private constant string di = "SPLK"
endglobals
now i know in java you can do it like that : int[] i = {3,3,3,3,3,3}
how to do that in vJass....
I tried it like shown as an example
private real array damage = {3,3,3,3}
but that doesnt work!
So my question is how initialisize that array or is it even possible ? ;(
thank you
i need to get the damage per level and so on into an array ...
globals
private TC array users
private integer total = 0
private timer t = CreateTimer()
private real array damage
private real array range
private real array time
private constant integer id = 'AHbn'
private constant string di = "SPLK"
endglobals
now i know in java you can do it like that : int[] i = {3,3,3,3,3,3}
how to do that in vJass....
I tried it like shown as an example
private real array damage = {3,3,3,3}
but that doesnt work!
So my question is how initialisize that array or is it even possible ? ;(
thank you