So I put my map into third-person where you control the camera with your mouse and all that.
Problem is, you can't click with your mouse, so is there a way to pick up items without having to right click them? I've tried to trigger it so that when you hit Space it picks up the nearest item within range, but it errors or doesn't work right, so I just gave up on trying it on my own xD.
I haven't really taken a look at much in the editor since I've just been playing around with terrains so I might be saying nonsense right now.
You could set a trigger with the event being "unit comes within range of unit (if its possible to set a variable to detect item drops as units) and have it get picked up automatically. After that just have your inventory operated by hotkeys or make it so when you're in your inventory you can use your mouse but not move your character.
Another possible solution might be to make a region that moves to dropped items and picks it up when you enter to it?
Again, I've been sticking to terraining since I've gotten my hands on the editor, so you should wait for someone else to respond I guess, but this is something you can look into for now.
Can u make a keyboard key that toggles the mouse control of the camera? Effectively unlocking it for item pickup. Idk ur game tho but if I was playing I would prefer that over auto pickup.
How did you do the trigger? if you don't mind posting it so i can check it out and maybe help you out?.You maybe overlooking something, sometimes it helps to have a 2nd pair of eyes take a look.I was gonna suggest you do it by trigger as i have it on my maps.
So I put my map into third-person where you control the camera with your mouse and all that.
Problem is, you can't click with your mouse, so is there a way to pick up items without having to right click them? I've tried to trigger it so that when you hit Space it picks up the nearest item within range, but it errors or doesn't work right, so I just gave up on trying it on my own xD.
Any ideas? :3
I haven't really taken a look at much in the editor since I've just been playing around with terrains so I might be saying nonsense right now. You could set a trigger with the event being "unit comes within range of unit (if its possible to set a variable to detect item drops as units) and have it get picked up automatically. After that just have your inventory operated by hotkeys or make it so when you're in your inventory you can use your mouse but not move your character. Another possible solution might be to make a region that moves to dropped items and picks it up when you enter to it? Again, I've been sticking to terraining since I've gotten my hands on the editor, so you should wait for someone else to respond I guess, but this is something you can look into for now.
edit to make sense (hopefully =p)
Can u make a keyboard key that toggles the mouse control of the camera? Effectively unlocking it for item pickup. Idk ur game tho but if I was playing I would prefer that over auto pickup.
@peekuhchew: Go
How did you do the trigger? if you don't mind posting it so i can check it out and maybe help you out?.You maybe overlooking something, sometimes it helps to have a 2nd pair of eyes take a look.I was gonna suggest you do it by trigger as i have it on my maps.
@TheOGNehogo: Go http://i153.photobucket.com/albums/s231/peekuhchew9090/d-1.jpg
I changed the trigger around to make the hero move targeting "Item", or just using it without the variable and i still don't know whats wrong :[
and there's probably an easier way to show you my trigger, i just don't know how to do that... xD
Still haven't found a solution :[