Linux #Vengeance: "foe injured" doesn't lead into "pick one of" [RESOLVED]

Locked
User avatar
Jay_H
Posts: 4070
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Linux #Vengeance: "foe injured" doesn't lead into "pick one of" [RESOLVED]

Post by Jay_H »

I have an issue with a quest I'm writing, where "pick one" fails on an "injured" condition.

Code: Select all

_inj_ task:
          injured _barb_
          pick one of _ene1_ _ene2_

_ene1_ task:
          say 1023

_ene2_ task:
          say 1024
          create foe _enemy_ every 1 minutes 1 times with 100% success
"injured -> say ####" does work.
Last edited by Jay_H on Wed Oct 25, 2017 3:37 am, edited 1 time in total.

User avatar
Interkarma
Posts: 7242
Joined: Sun Mar 22, 2015 1:51 am

Re: Linux #Vengeance: "foe injured" doesn't lead into "pick one of"

Post by Interkarma »

Thank you mate. I'll look into what's happening here. My feeling is there's something wrong with the "injured" trigger condition not activating task in this case. I'll let you know once resolved.

User avatar
Jay_H
Posts: 4070
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Linux #Vengeance: "foe injured" doesn't lead into "pick one of"

Post by Jay_H »

I think "pick one" has further problems. I'm trying out a new section on a different quest:

Code: Select all

--	Quest start-up:
	start timer _timer_ 
	log 1030 step 0 
          pick one of _dud_ _dud_ _dud_ _dud_ _alt_
	pc at _mondung_ set _inside_
	place foe _enemy_ at _mondung_
  reveal _mondung_
          
variable _inside_

_alt_ task:

_dud_ task:

_altspawn_ task:
          when _inside_ and _alt_
          start task _altinform_
I don't see anything that could prevent _alt_ from activating, but it refuses to do so. Either _dud_ activates or neither.

(Reference quest)

Image

Locked