still having problems with the take item command

Post Reply
elpresidente
Posts: 0
Joined: Thu Jul 04, 2002 5:00 am

still having problems with the take item command

Post by elpresidente »

ok ive tried the command text the spell and the exit as a spell but i cant seem to get this to work, this is the text block and spell setup i have at the moment



SPELL



Name: Cloak retreval

short name:

desc1:

desc2:

Type: General

Target: Self

magery: none

type of attack: normal

resist ability:magic resistance

type of resists: never

norm message style: yes

req lev:0

energy:0

mana:0

difficulty:100



then the ability

148 textblock 20001



now that the text block says



checkitem 9999: minlevel 4 20002: takeitem 9999 20003



where 2000X is the message



any help please
Tsunami
Posts: 0
Joined: Tue Jul 31, 2001 5:00 am

Re: still having problems with the take item command

Post by Tsunami »

The spell part should work.. the text block will do nothing if you don't have item 9999, shows message 20002 if you're below level 4, and.. it takes the item without a message if you do? I'm pretty sure takeitem doesn't allow a fail message, so put that on the checkitem, like:



checkitem 9999 20003:minlevel 4 20002:takeitem 9999



You might need to take out the spaces after the colon, I'm not sure.. did you set the exit as spell type or delay type? Or if you try putting the spell in the room, it might need to be "self or single" type.
elpresidente
Posts: 0
Joined: Thu Jul 04, 2002 5:00 am

Re: still having problems with the take item command

Post by elpresidente »

thanks heaps that works
elpresidente
Posts: 0
Joined: Thu Jul 04, 2002 5:00 am

Re: still having problems with the take item command

Post by elpresidente »

i made it a few rooms aswell so that if they survive the first one or 2 the others will get em ;)
Post Reply

Return to “Editing Questions and Guides”