Jump to content
  • 0

Lightpillar effect on makeitem script command?


Shirohige

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   1
  • Joined:  03/11/19
  • Last Seen:  

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?

---------------------------------------

*makeitem <item id>,<amount>,"<map name>",<X>,<Y>;
*makeitem "<item name>",<amount>,"<map name>",<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.


Thanks in advance for any help!

screenLotusRO006.jpg

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

Were you able to find an answer on how to activate the ShowDropEffect? I already added the drop effect to itemdb, I just cant figure what flag to use on the makeitem script.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   1
  • Joined:  03/11/19
  • Last Seen:  

No I wasn't able to find a solution since it needs some source modification which I can't do, since I have no knowledge about the C language.

Edited by Shirohige
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...