Morelli Posted June 7, 2008 Share Posted June 7, 2008 I'm looking for a way to retrieve the model of a pickup. The pickup I've created is a custom model, using the Lua code: local pickup_whatever = createPickup ( 0, 0, 0, 3, 1272, 30000) The model ID that I have used is 1272 (Blue house). I've tried getPickupAmmo and getPickupAmount but they both return zero. Any suggestions on how I can retrieve the model? Link to comment
Stevvo Posted June 7, 2008 Share Posted June 7, 2008 As far as i am awarethere isn't a function that will retrieve the model ID. You will have to store the model ID useing another method if you want to retrieve it. Possibly GetElementModel would do it in DP3. Link to comment
Morelli Posted June 7, 2008 Author Share Posted June 7, 2008 Heh, forgot all about setElementData. Nevermind then. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now