Check points
#1

Hey.. is there any chance to make that.. if player is getting to some area he'll see the check points and it wont be always on the mini map?

and is there any option to make a few check points that apears when the players just enter the server?

and last thing is.. how can i control what happens when player reach checkpoint? like if i want a text to show.. where do i put it? what public?


THanks!
Reply
#2

Work with OnPlayerEnterCheckpoint and IsPlayerInArea
Reply
#3

Also, when you set the checkpoint you should use a variable and give it a value to know which checkpoint did you reach.
And make your script in OnPlayerEnterCheckpoint checking variable's value. It would work as a "Checkpoint ID".
If you don't know how to use IsPlayerInArea try with IsPlayerInRangeOfPoint. If you're going to set the checkpoint checking the zone in OnPlayerUpdate, make a bool and check its values to set or no the checkpoint, because probably it'll be set infinite times when you're in that area.
Good luck!
Reply
#4

and on what public should I put that IsPlayerInRangeOfPoint?
Reply
#5

You can use OnPlayerUpdate, or make a new one with a timer and a loop. Anyway, you have to use a bool in both..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)