20.02.2017, 10:58
Hello, I am writing a script that creates a pickup at an interior of a particular building, and whenever a player picks up said pickup, it should display a dialog with a list.
I want to do it in such a way that if the player picks up the pickup, it displays the dialog and until the player picks up the pickup again, the dialog does not pop up.
I am having a problem with pickup types. None of the pickups do what I want.
I tried using type 2, but when the player picks up a pickup of type 2, it disappears and does not reappear until the player is within its range.
I also tried using type 1, but that is triggering every one second or two, making it very frustrating for the user navigating through the dialog.
I have tried using timers and IsPlayerInRangeOfPoint but I couldn't get both to work properly.
I want to do it in such a way that if the player picks up the pickup, it displays the dialog and until the player picks up the pickup again, the dialog does not pop up.
I am having a problem with pickup types. None of the pickups do what I want.
I tried using type 2, but when the player picks up a pickup of type 2, it disappears and does not reappear until the player is within its range.
I also tried using type 1, but that is triggering every one second or two, making it very frustrating for the user navigating through the dialog.
I have tried using timers and IsPlayerInRangeOfPoint but I couldn't get both to work properly.