Page 1 of 1
Monsters picking up items?
Posted: Sat Apr 09, 2016 2:00 am
by Bootleg Guy
Is there any way to make monsters able to pick up items in zandronum? I know they can pick up items with the +PICKUP flag, but it only seems to work in zdoom.
Re: Monsters picking up items?
Posted: Sat Apr 09, 2016 2:39 am
by SwordGrunt
There is a way by using invisible monsters as replacement for items, but I don't think you'd want to go that far. If +PICKUP doesn't work on Zandronum that should be reported as a bug.
Re: Monsters picking up items?
Posted: Sat Apr 09, 2016 3:04 pm
by ZZYZX
You can simulate item pickup by querying nearby actors with A_RadiusGive. But then you'll need to manually handle each item class.
I guess the next question will be "how to activate switches programmatically" lol
and the answer is it's impossible
so no decorate bots sorry
Re: Monsters picking up items?
Posted: Sat Apr 09, 2016 4:29 pm
by Bootleg Guy
ZZYZX wrote:You can simulate item pickup by querying nearby actors with A_RadiusGive. But then you'll need to manually handle each item class.
I guess the next question will be "how to activate switches programmatically" lol
and the answer is it's impossible
so no decorate bots sorry
I guess that could work, and I really dont plan to make the bots able to use switches at all, I just want to have something that can act like a player, sorta.
Re: Monsters picking up items?
Posted: Sat Apr 09, 2016 6:45 pm
by ZZYZX
Well you see for bots to act like a player they need to use elevators and doors, and these are switches ;P
Re: Monsters picking up items?
Posted: Sat Apr 09, 2016 9:23 pm
by Empyre
A_RadiusGive doesn't work in Zand 2. I know because I tried to use it myself.