Posts: 267
Threads: 79
Joined: Oct 2007
Reputation:
0
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!
Posts: 5,314
Threads: 12
Joined: Aug 2010
Reputation:
0
Work with OnPlayerEnterCheckpoint and IsPlayerInArea
Posts: 1,469
Threads: 62
Joined: Jan 2010
Reputation:
0
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!
Posts: 267
Threads: 79
Joined: Oct 2007
Reputation:
0
and on what public should I put that IsPlayerInRangeOfPoint?
Posts: 1,469
Threads: 62
Joined: Jan 2010
Reputation:
0
You can use OnPlayerUpdate, or make a new one with a timer and a loop. Anyway, you have to use a bool in both..