afisakov
You can change this now in User CP.
- Reaction score
- 37
Not sure if I am asking this right but the situation is below.
I have the damage values of a bunch of abilities saved under variable arrays.
I want to make an abinfo trigger that will display text to player based on all values of the ability.
Is it possible to pass the variable name into function in some way to streamline the process.
Hope to achieve
function mytips takes integer ablevel, stringarray myvarlable returns nothing
loop from 1 to ablevel
displaytext variable[ablevel]
endfunction
Now I know how to write the loop and DisplayTextToPlayer properly, but I do not know how to pass the stringarray 'myvariable' into function or if possible to do so.
Any advice?
I have the damage values of a bunch of abilities saved under variable arrays.
I want to make an abinfo trigger that will display text to player based on all values of the ability.
Is it possible to pass the variable name into function in some way to streamline the process.
Hope to achieve
function mytips takes integer ablevel, stringarray myvarlable returns nothing
loop from 1 to ablevel
displaytext variable[ablevel]
endfunction
Now I know how to write the loop and DisplayTextToPlayer properly, but I do not know how to pass the stringarray 'myvariable' into function or if possible to do so.
Any advice?