So use the striker script. Got it. Thanks that is very helpfulOpenBoR Tips & Tricks
I still have draft for these but I don't feel like about splitting into single threads so I just post them here. Generic Portal Intro: Generic Portal is advanced version of Alternate Portal above. They work exactly the same. The only difference is that Generic Portal allows modder to set...www.chronocrash.com
Yes, I used spawnframe and also used custentity instead of subentity. Nothing seemed to work until I added the item to the NPC's spawn section in the level text and then it started working. I am not sure why because I didnt think this was needed since I was not trying to spawn the item when the NPC died. However, it seemed to cause the item to be able to be picked up? Whats weirder is that, as a test, I later removed that item from that same NPC's spawn section in the level's text document, and it still works. So maybe it was a glitch? Maybe I made another change to get it working and don't remember? Anyways it works now and thanks for writing the tutorial for the striker because it is exactly what I needed and thank you maxman for suggesting it.Have you tried using spawnframe instead?
name BURGER
health 60
type item
shadow 0
#icon data/chars/misc/iconb.gif
gfxshadow 1
nolife 1
anim idle
loop 1
delay 100
offset 16 16
itembox 8 3 17 17
frame data/chars/misc/hambur.gif
delay 20
frame data/chars/misc/hambur2.gif
the NPC successfully drops the item. However, for some reason, the player cannot pick the item up.
load Item
I used itembox and a get animation. I did not spawn it near the death frame though, since the death happens offscreen, I spawned it in the attack frame. However, I got it to work somehow. I am wondering if my issue was the itembox was too small, thus it was hard for the player to pick up the item. I appreaciate the helpDoes the player use/have anim get or not? If not, you can use itembox if players don't use anim get.
Did you spawn the item around the NPC's anim death with spawnframe and subentity/custentity (especially to the last frame of it) before it disappeared?