26.11.2011, 16:10
A temporary work around:
- Loop through all houses, and check if the player is in range of the specific point the pickup ID is referring too.
I seem to remember reading somewhere that sometimes CreatePickup ID's sometimes mis-match and/or return the wrong ID. In all of my scripts I use OnPlayerPickUpPickup to trigger a Loop + IsPlayerInRangeOfPoint search for the right data.
Off Topic: I'm sure I replied to your post (before the bump).
- Loop through all houses, and check if the player is in range of the specific point the pickup ID is referring too.
I seem to remember reading somewhere that sometimes CreatePickup ID's sometimes mis-match and/or return the wrong ID. In all of my scripts I use OnPlayerPickUpPickup to trigger a Loop + IsPlayerInRangeOfPoint search for the right data.
Off Topic: I'm sure I replied to your post (before the bump).