Ok what is happening here:
Code:
Ok side question, just noticed that an obj i carry has a spell trigger on. When i try locate the obj name this happends, but only some times:
cast 'locate obj' tooth
Okay.
a toothpick is burned when she hits you.
A toothpick tells you: Get out of here before I call the guards!
A toothpick slaps you. Ow!
This mob is protected.
You can't help laughing as a toothpick sends a magic missile at you. <<-- This is from the trigger on my item.
So why does it suddently start a fight, and suddently come with the mob is protected ?
Is that an error in triggers or something else ?
The trigger is:
Name: 'obj cast magic missile', VNum: [ 2324], RNum: [ 698]
Trigger Intended Assignment: Objects
Trigger Type: Cast , Numeric Arg: 100, Arg list: None
Commands:
if %already_cast%
wait 15 s
unset already_cast
else
dg_cast 'magic missile' %actor.name%
set already_cast 1
global already_cast
end
No mob is called toothpick anywhere.
Had fireshield on the above attempt.
Another attempt with no fireshield:
cast 'locate obj' toothpick
Okay.
You can't help laughing as a toothpick sends a magic missile at you.
Another:
cast 'locate obj' toothpick
Okay.
a toothpick is being carried by ...
So its not the same each time.
Same happends if the item lies on the floor of the room im in