Divinity Banner
Previous Thread
Next Thread
Print Thread
Check if Combat Ability is greater then 5 #652532
04/05/19 03:47 PM
04/05/19 03:47 PM
Joined: Sep 2018
Posts: 7
M
Meldexun Offline OP
stranger
Meldexun  Offline OP
stranger
M

Joined: Sep 2018
Posts: 7
I want to check if a combat ability of a character is greater then 5. I know the CharacterGetAbility and the IsGreaterThen. But how can i use them the ACTIONS part of my script?

Re: Check if Combat Ability is greater then 5 [Re: Meldexun] #652540
07/05/19 07:22 AM
07/05/19 07:22 AM
Joined: Nov 2017
Posts: 129
L
LarIlya Offline
member
LarIlya  Offline
member
L

Joined: Nov 2017
Posts: 129
Hi Meldexun!

Generally, things that return values are queries, so you'll have to put it into a structure along the lines of

IF "c1&c2"
CharacterGetAbility(_Value, <Character>, <Ability>)
IsGreaterThen(_Value, 5)
THEN

etc.

Re: Check if Combat Ability is greater then 5 [Re: LarIlya] #653262
22/06/19 09:33 PM
22/06/19 09:33 PM
Joined: Sep 2018
Posts: 7
M
Meldexun Offline OP
stranger
Meldexun  Offline OP
stranger
M

Joined: Sep 2018
Posts: 7
Thank you.


Moderated by  Dom_Larian, Larian_Koala 

Powered by UBB.threads™ PHP Forum Software 7.6.2