I want to give the player ~5 longbow missiles in a dockscreen pane called "GetMissiles", but have no idea how that would be done.
Code: Select all
<GetMissiles
desc= "One of the Pirates nods his head slightly.">
<Actions>
<Action name="Leave" imageID="&rsItemListScreen;" imageIndex="0" cancel="1" key="L">
(block Nil
(itmCreate itLongbowMissile; 5)
(scrShowScreen gScreen "Main")
)
</Action>
</Actions>
</GetMissiles>
Right now this only creates missiles and doesn't actually give them to the player. How can I do this? (btw, there is no such thing as &itLongbowMissile; just am too lazy to actually look it up right now

) The station has other items in it, so (scrShowScreen gScreen "&dsLoot;") won't work.