For builders to discuss and ask building questions.
-
Argentia
- Sword Grand Master
- Posts: 357
- Joined: Fri Jul 23, 2004 4:31 am
- Location: The City of Splendors
-
Contact:
Post
by Argentia » Tue Sep 16, 2008 7:22 pm
Code: Select all
>intercept_prog shine~
if quest(12, 3, $n) == 3
if actorhasobjnum(101428)
if hitprcnt($i) < 1
mpechoat $n Some quest info
mpechoaround $n $N More of the same
sayto $n Blah blah blah
mpecho Words and words
mpecho Maybe a sentence or two here
sayto $n Blah blah blah
sayto $n I'm a big bad meanie face
mpslay $i
mpgroupaction $n mpmset @n quest 12 3 4
endif
endif
endif
~
|
This is an intercept prog I have on a mobile.(Relevant quest info removed) When the mob is stunned and I type shine, it returns "Huh?". I have item 101428 in my inventory and have tried holding it as well, and the qbits are correct. Any ideas? I'm not seeing the problem.
Do not meddle in the affairs of dragons, for you are crunchy and go well with ketchup.
-
Kregor
- Sword Grand Master
- Posts: 1474
- Joined: Sun Jul 11, 2004 6:14 am
- Location: Baldur's Gate
Post
by Kregor » Thu Sep 18, 2008 1:37 am
The problem is that intercept triggers do not trigger if the mobile with the prog is unconscious. So if you stun them, you will not be able to use the prog.
You might have to move the prog over to the object used, and change your checks.
"There is no safety for honest men except by believing all possible evil of evil men."
Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
-
Argentia
- Sword Grand Master
- Posts: 357
- Joined: Fri Jul 23, 2004 4:31 am
- Location: The City of Splendors
-
Contact:
Post
by Argentia » Thu Sep 18, 2008 2:07 am
I did not know that.
Thanks Kregor!
Do not meddle in the affairs of dragons, for you are crunchy and go well with ketchup.
-
Argentia
- Sword Grand Master
- Posts: 357
- Joined: Fri Jul 23, 2004 4:31 am
- Location: The City of Splendors
-
Contact:
Post
by Argentia » Thu Sep 18, 2008 2:00 pm
What target would work to check the mobile from the program on the item? Or can I use the actual vnum of the mob in place of the target, ie
Thanks!
Do not meddle in the affairs of dragons, for you are crunchy and go well with ketchup.