I was wondering if it would be somehow possible to add the lightpillar feature from item_flag.txt to the makeitem script command? Like would it be possible to add another parameter to the script command to add the flag from item_flag.txt so when the item is generated / droped next to the character via the makeitem command it behaves like it would've droped from a normal monster and generate the coloured lightpillar?
---------------------------------------
*makeitem <itemid>,<amount>,"<mapname>",<X>,<Y>;
*makeitem "<itemname>",<amount>,"<mapname>",<X>,<Y>;
This command will create an item on the specified cell of a map.
As with any dropped items, the items created with this command will disappear after
a period of time. Using an amount greater than 1 will create a single stack of the
given amount, not multiple stacks of 1.
Like 'getitem', it also accepts an 'english name' field from the database and creates
Apples if the name isn't found.
If the map name is given as "this", the map the invoking character is on will be used.
---------------------------------------
So I thought about adding after the <Y>,<Flag>; where you then can put in the number like explained inside the item_flag.txt for ex.:
makeitem 12123,1,.@map$,.@x,.@y,2048;
So this would drop the item next to the character with the orange pillar effect.
Screen attached to show what I mean with lightpillar effect.
Question
Shirohige
Hello everyone
I was wondering if it would be somehow possible to add the lightpillar feature from item_flag.txt to the makeitem script command? Like would it be possible to add another parameter to the script command to add the flag from item_flag.txt so when the item is generated / droped next to the character via the makeitem command it behaves like it would've droped from a normal monster and generate the coloured lightpillar?
So I thought about adding after the <Y>,<Flag>; where you then can put in the number like explained inside the item_flag.txt for ex.:
makeitem 12123,1,.@map$,.@x,.@y,2048;
So this would drop the item next to the character with the orange pillar effect.
Screen attached to show what I mean with lightpillar effect.
Thanks in advance for any help!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.