Jump to content

How to get if the player is near ?


killerrj8

Recommended Posts

Yes , I think so , too. I even deleted the package just for testing if he does his normal package instead so that it didn't work. But now they're just standing there , doing nothing. I don't know what I did wrong.
Link to comment
Share on other sites

You can try one thing:

 

- create a quest just for that scene (if not already done)

 

- now take your trigger script and make it start this new quest myQuest.Start()

 

- mark the scene as "start with quest"

 

- unmark the "start game enabled" on quest data

 

If the actors go to the xmarker, then the scene starts correctly and we can concentrate on other issues.

Link to comment
Share on other sites

i did what you said they're standing in front of each other facing each other, maybe its random , maybe its because I made them facing each other. Anyway. No dialogue shows up :(. Does it work for you ? If so, do u have a tutorial ? (which works)
Link to comment
Share on other sites

The reason why I asked for more detailed info earlier is that there are a number of ways that you can use to detect if a player/actor is near. For example, instead of using a primitive and a trigger, you could have a script calling a "FindClosestActor()" or "FindClosestActorFromRef()" function for example. It all depends on what you are trying to do.

 

@killerj8: It sounds like your quest starts as it should but something is going wrong when trying to activate the scene. Could you post the scripts/fragments that you are using to initiate the quest/scene. Maybe we can spot some problem. Even if the script compiles, if doesn't necessarily mean that it will work. This may sound silly, but you haven't forgotten to right-click on your scripts and set the property values have you? I do that sometimes :ermm:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...