x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Give XP for visit a place

Hello, my Question is, how can i do when the Player visit a new place at the map he becomes XP Points for the first time?

Product Version: UE 4.19
Tags:
more ▼

asked Apr 19 '19 at 08:50 PM in Blueprint Scripting

avatar image

ipatix
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Place a collision volume that covers the entrance or the area. When the player enters, grant them xp via a cast and disable / remove the volume.

more ▼

answered Apr 19 '19 at 09:01 PM

avatar image

Everynone
15.3k 77 26 62

avatar image Nebula Games Inc Apr 19 '19 at 09:42 PM

I have a feeling this is going to require more explanation......you also need to somehow "save" the fact that the player went there since the OP wants this to happen only the "first time". If you close the game or the level is more open world then even deleting the volume wouldn't be effective the next time you play. If you are just getting started in UE4 I suggest checking out some beginner tutorials. This series I created will go over a lot of the basics that you need to actually pull something like this off properly. Things like casting, references, save/load cycles, scoring systems (or XP really same thing) and creating basic UI will all be helpful. Check it out, try to create an XP system yourself and then come back if you need help with specifics.

https://www.youtube.com/playlist?list=PLyu-W38DvZhqByAoeva1jewB5s78zQHIy

avatar image ipatix Apr 20 '19 at 10:16 AM

alt textalt text

This is a example. Ive made a Leveling System and for this time i can add XP with Pressing the "Q" on Keyboard.

greetings :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question