Search found 13 matches
- April 2nd, 2024, 10:53 am
- Forum: WML Workshop
- Topic: Ability damage %HP owner help needed
- Replies: 10
- Views: 2031
Re: Ability damage %HP owner help needed
Oh my apologize i clean the variable before where i include this... And don't mind to re store it Fatigue ^^" I go to sleep
- April 2nd, 2024, 9:08 am
- Forum: WML Workshop
- Topic: Ability damage %HP owner help needed
- Replies: 10
- Views: 2031
Ability damage %HP owner help needed
Hi I try to build an ability who deal adjacent damage at the end the of turn, based on the owner current HP. With my event i have an error message in the game debug console when the event triggers (and match filters) : "attempt to perform arithmetic on a nil value (local 'base_damage')" Bu...
- April 2nd, 2024, 4:24 am
- Forum: WML Workshop
- Topic: status invulnerable
- Replies: 14
- Views: 3322
- March 31st, 2024, 6:07 pm
- Forum: WML Workshop
- Topic: [set_variables] not supported at scenario toplevel
- Replies: 4
- Views: 1360
Re: [set_variables] not supported at scenario toplevel
Thanks's for the precision Ravana. It's always better to know why it don't work then only know the solution ^^
- March 30th, 2024, 10:56 pm
- Forum: WML Workshop
- Topic: [set_variables] not supported at scenario toplevel
- Replies: 4
- Views: 1360
Re: [set_variables] not supported at scenario toplevel
Oh, i try to use arrays, i actually use variable to store values and this don't need to be in an event to initialize values, so i've think than set_variables don't need to.
Thanks to the answer, i've start wml juste 2 days ago ^^'
Thanks to the answer, i've start wml juste 2 days ago ^^'
- March 30th, 2024, 10:36 pm
- Forum: WML Workshop
- Topic: [set_variables] not supported at scenario toplevel
- Replies: 4
- Views: 1360
[set_variables] not supported at scenario toplevel
Hi, I encounter an error when i try to set my arrays that say in the debug console "Error : [set_variables] is not supported at scenario toplevel (3)" I've search in the wiki but I can't figure out my problem so my 3 set_variables don't work but it seems to be the correct syntax, my code h...
- March 30th, 2024, 7:43 pm
- Forum: WML Workshop
- Topic: [closed] Need Help for $side_number, or maybe variable
- Replies: 11
- Views: 1429
Re: Need Help for $side_number, or maybe variable
Thanks for you're help and you're quick and precise answers ! ^^
You rock !
~ a guitar hero player
You rock !
~ a guitar hero player
- March 30th, 2024, 7:15 pm
- Forum: WML Workshop
- Topic: [closed] Need Help for $side_number, or maybe variable
- Replies: 11
- Views: 1429
Re: Need Help for $side_number, or maybe variable
Ok so i can make i thing like this for store players items ? [equipped.stuffs] # Leader Side 1 helmet=iron torso=iron legs=iron boots=iron cape=iron hand=leather [equipped.stuffs/] # Leader Side 2 helmet="" torso="" legs="" boots=iron cape=coat hand=leather [equipped.st...
- March 30th, 2024, 6:47 pm
- Forum: WML Workshop
- Topic: [closed] Need Help for $side_number, or maybe variable
- Replies: 11
- Views: 1429
Re: Need Help for $side_number, or maybe variable
Do you know if there's a french community in WML ?
- March 30th, 2024, 6:41 pm
- Forum: WML Workshop
- Topic: [closed] Need Help for $side_number, or maybe variable
- Replies: 11
- Views: 1429
Re: Need Help for $side_number, or maybe variable
When you say than array need a key it's like array in wml are by default a multiple array ?
- March 30th, 2024, 6:38 pm
- Forum: WML Workshop
- Topic: [closed] Need Help for $side_number, or maybe variable
- Replies: 11
- Views: 1429
Re: Need Help for $side_number, or maybe variable
It sounds to me like you're ready to learn about arrays. I can't find a good intro link, maybe someone else will know where to start. I think you'll want to start with something like this: {VARIABLE cape[$side] _"Cape des Veilleurs"} # the cape for side $side and then work your way up to ...
- March 30th, 2024, 6:32 pm
- Forum: WML Workshop
- Topic: [closed] Need Help for $side_number, or maybe variable
- Replies: 11
- Views: 1429
- March 30th, 2024, 2:35 pm
- Forum: WML Workshop
- Topic: [closed] Need Help for $side_number, or maybe variable
- Replies: 11
- Views: 1429
[closed] Need Help for $side_number, or maybe variable
I have an issue with this code, i know my mistake. So I explain what goes wrong, I want to save the name of the cloak in a variable with the name "sideX_cape" where X is the $side_number. I custom a MOBA-like add-ons, so each side control only 1 leader and can't recruit. If you have an alt...