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 lying around on a specified map in the
specified location.
itemid - Found in 'db/(pre-)re/item_db.txt'
amount - Amount you want produced
map name - The map name
X - The X coordinate
Y - The Y coordinate.
This item will still disappear just like any other dropped item. 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.
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!
Share this post
Link to post
Share on other sites