I'm trying to add a warningitem to one of my monsters as special loot,
QUOTE |
[add warningitem "itemid" "range" "warning"
|
This works in game,
QUOTE |
ADD/warningitem xxxx xx xxxxxxxxxxx ADD/<warningitem xxxx xx xxxxxxxxxx>
|
Neither of these work, I'm not sure what else to try. there were a couple of otehr things i had in mind for loot which had the same type string.
Is this possible?
if you have an item that takes arguments for its constructor as in
[add warningitem "itemid" "range" "warning"
then when you add it in a spawn entry, you would separate those arguments with commas instead of spaces, like
orc/ADD/warningitem,xxxx,xx,xxxxxxxxxxx
You could put it between the grouping brackets '<>' like
orc/ADD/<warningitem,xxxx,xx,xxxxxxxxxxx>
but it is not necessary since you arent setting any properties on it.
If you were just spawning it instead of adding to something else that you are spawning, it would be the same thing. The spawn entry would look like
warningitem,xxxx,xx,xxxxxxxxxxx
But if I needed to make it movable i would do
/ADD/<warningitem,xxxx,xx,xxxxxxxxx/movable/true>
Right?
*EDIT* I tried that and it worked beautifully.