|
old hand
|
old hand
Joined: Aug 2014
|
Yeah, there's lots of issues with statuses with CONSUME -- you're probably activating and infinite feedback loop with OnCharacterStatus(...Consume) + CharacterConsume later on. That's becayse OnCharacterStatus only takes two paramters, a character and a status, without the optional third definer for the CONSUME, so your CharacterConsume will activate the condition again. My workaround is:
OnCharacterStatus(__Me,CONSUME) ACTIONS IF "c1..." CharacterHasStatus(__Me,CONSUME,statusyouactuallywantforOnCharacterStatus).
Seems to work well enough, though one problem is that if you apply a different CONSUME status while you still have that original status you were checking for (statusyouactuallywant...), you get the effects of the condition again, so you want to immediately remove that status. The only way I've figured out how to reliably remove a specific consume status is to consume a different status with the same stackid. It's hacky, but it works, though that brings up another issue about CharacterRemoveStatus not excepting a parameter to define the CONSUME status either.
There may be another workaround to the CONSUME issues by defining the status in the StatusData.rb (open with Notepad, it's where they convert stuff like KnockedDown to KNOCKED_DOWN), but I haven't figured out how to work that.
|
|
|
Entire Thread
|
Scripting issues - bugs, problems, improvements
|
Abraxas*
|
05/04/16 06:45 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Baardvark
|
06/04/16 06:33 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
06/04/16 06:52 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
29/04/16 04:58 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Baardvark
|
29/04/16 08:08 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
30/04/16 06:12 AM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
06/05/16 06:02 PM
|
Re: Scripting issues - bugs, problems, improvements
|
SniperHF
|
06/05/16 06:54 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
06/05/16 07:01 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
06/05/16 07:03 PM
|
Re: Scripting issues - bugs, problems, improvements
|
SniperHF
|
06/05/16 09:25 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
07/05/16 06:45 AM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
20/05/16 08:04 PM
|
Re: Scripting issues - bugs, problems, improvements
|
SniperHF
|
21/05/16 09:07 AM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
21/05/16 09:10 AM
|
Re: Scripting issues - bugs, problems, improvements
|
SniperHF
|
21/05/16 09:17 AM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
21/05/16 09:26 AM
|
Re: Scripting issues - bugs, problems, improvements
|
SniperHF
|
22/05/16 12:48 AM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
22/05/16 09:26 AM
|
Re: Scripting issues - bugs, problems, improvements
|
SniperHF
|
22/05/16 10:50 AM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
22/05/16 07:58 PM
|
Re: Scripting issues - bugs, problems, improvements
|
SniperHF
|
24/05/16 08:38 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
24/05/16 09:14 PM
|
Re: Scripting issues - bugs, problems, improvements
|
SniperHF
|
25/05/16 01:14 AM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
01/07/16 06:28 PM
|
Re: Scripting issues - bugs, problems, improvements
|
Abraxas*
|
16/11/16 09:02 PM
|
|
Moderated by Bvs, ForkTong, gbnf, Issh, Kurnster, Larian_QA, LarSeb, Lar_q, Lynn, Monodon, Raze, Stephen_Larian
|
|