Hello everyone!
I know you all love questions about the free ARPG plug in but I have an interesting one here (that's probably simple and I just don't see it).
I have the plug in working and I wanted to make it so when an enemy is killed, they drop an item which is then displayed on the ground at the location they died at. When the player runs over the item, the item is picked up, and then the image on the ground disappears, a message of "you received x" displayed and the item added to the inventory. This all works as intended (I'll show the pages in a second).
However, I have a few issues.
If I leave the map and come back, the item image stays but is no longer at the position at which it was dropped but at the position in which the enemy originally spawned. Said enemy *won't* respawn unless I then go pick up the item.
I have the appropriate commands in place that *should* be respawning the enemies but this doesn't work unless the item is picked up. If other enemies are on the map, they continue functioning normally.
So what I would actually like to happen is either: the item(s) on the ground which aren't picked up before the player leaves the map disappear and the enemies would then respawn normally when the player re-enters the map or enemies which have dropped items *don't* respawn, but the item stays at the location in which they died. Images below!
These are the two pages associated with the drop
And here's the page associated with resetting (this is on an event that would transfer the player out of an area)
And here's the event I'm using to spawn an enemy on map.
Here's the enemies running around the room
Here's one of the enemies dead, with the dropped item on the ground where they died.
And here's the same dropped item, reverted to the starting position of the original enemy event. The item is still interactable and will still give me a dropped item. Once this item is picked up, item disappears until I enter and re-enter the map at which time the enemy will respawn as normal.
Some notes:
- On the enemy event the loop portion and drop item switches weren't there earlier today, I just added them to see if it would fix my issue before posting but they don't seem to do anything.
- On the Transfer Event, the Drop Item switch was also not there earlier but adding it also didn't seem to fix my issue.
- Before adding the above two notes, all events were working the same as described above so the changes didn't seemingly alter anything.
Sorry for the long post but I figured as much info as possible would help! Thank you!
I know you all love questions about the free ARPG plug in but I have an interesting one here (that's probably simple and I just don't see it).
I have the plug in working and I wanted to make it so when an enemy is killed, they drop an item which is then displayed on the ground at the location they died at. When the player runs over the item, the item is picked up, and then the image on the ground disappears, a message of "you received x" displayed and the item added to the inventory. This all works as intended (I'll show the pages in a second).
However, I have a few issues.
If I leave the map and come back, the item image stays but is no longer at the position at which it was dropped but at the position in which the enemy originally spawned. Said enemy *won't* respawn unless I then go pick up the item.
I have the appropriate commands in place that *should* be respawning the enemies but this doesn't work unless the item is picked up. If other enemies are on the map, they continue functioning normally.
So what I would actually like to happen is either: the item(s) on the ground which aren't picked up before the player leaves the map disappear and the enemies would then respawn normally when the player re-enters the map or enemies which have dropped items *don't* respawn, but the item stays at the location in which they died. Images below!
These are the two pages associated with the drop
And here's the page associated with resetting (this is on an event that would transfer the player out of an area)
And here's the event I'm using to spawn an enemy on map.
Here's the enemies running around the room
Here's one of the enemies dead, with the dropped item on the ground where they died.
And here's the same dropped item, reverted to the starting position of the original enemy event. The item is still interactable and will still give me a dropped item. Once this item is picked up, item disappears until I enter and re-enter the map at which time the enemy will respawn as normal.
Some notes:
- On the enemy event the loop portion and drop item switches weren't there earlier today, I just added them to see if it would fix my issue before posting but they don't seem to do anything.
- On the Transfer Event, the Drop Item switch was also not there earlier but adding it also didn't seem to fix my issue.
- Before adding the above two notes, all events were working the same as described above so the changes didn't seemingly alter anything.
Sorry for the long post but I figured as much info as possible would help! Thank you!