Restrain restrained foe after hit do not work

For all talk about quest development - creation, testing, and quest system.
Post Reply
User avatar
Yagiza
Posts: 120
Joined: Wed Jul 31, 2019 5:16 pm

Restrain restrained foe after hit do not work

Post by Yagiza »

Here's sample

Code: Select all

Foe _foe_ is Warrior

--	Quest start-up:
	restrain foe _foe_
	
_hitFoe_ task:
	injured _foe_ 

_giveItem_ task:
	when _hitFoe_
	prompt 1020 yes _yes_ no _no_ 

_yes_ task:
	take _item_ from pc saying 1018 
	give item _item_ to _foe_ 
	restrain foe _foe_ 
	
_no_ task:
When we hit _foe_ and answer Yes, the item is given to the _foe_, but _foe_ is not restrained.
If we remove the line:

Code: Select all

restrain foe _foe_
from quest startup, the _foe_ restrained all right, once we answer Yes after we hit it.
Not sure, if this is a bug or correct behavior, but at least it looks strange. When I try to do it in classic Daggerfall, the game just crashes.

User avatar
Kamer
Posts: 583
Joined: Mon Mar 05, 2018 9:26 pm

Re: Restrain restrained foe after hit do not work

Post by Kamer »

This is why I took out robberies in Warm Ashes. It worked before but sometime after that it stopped working. I'm unsure if it was intentional or not.

Post Reply