Funny, I've tried making a force rest item and it worked fine. Might just be the script, so here's what I wrote:
void main()
{
if (GetTag(GetItemActivated()) != "ITEM_TAG_HERE") return;
object oPC = GetFirstPC();
SetLocalInt(oPC, "CurrentHP", GetCurrentHitPoints(oPC));
ForceRest(oPC);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(GetMaxHitPoints(oPC) - GetLocalInt(oPC, "CurrentHP")), oPC);
}
Although you are able to see your character taking damage, but I wouldn't personally be bothered by that.
Modifié par C Writer, 19 août 2010 - 05:41 .