# Event not functioning on dedicated server

**URL:** <https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [March 20, 2017, 10:27am UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045 "2017-03-20T10:27:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bestscreenname](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bestscreenname](https://forums.unrealengine.com/u/bestscreenname)\
**Post date:** [March 20, 2017, 10:27am UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/1 "2017-03-20T10:27:20Z")

</div>

Hello everyone,

```
I'm having an issue with something and need a bit of help. The event posted below is functioning properly in single player and non-dedicated but part of it isn't on dedicated servers. The prevent movement if bones are hidden part works, however the activation part for the particle and audio isn't triggering when it needs to be and is always on. I *think* that I know what's wrong but since it's limited to dedicated, I'm hoping someone can tell me why this isn't working and how to get it working as I'd prefer not to tinker around with ideas to see if they would work and make people have to update over and over. Thank you in advance for any help.

```

 ![help.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/9/a984358979531807a3c4b2164dd897614ea2245c.png)

---

<div class="post-metadata">

**Author:** ![P0k3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P0k3r](https://forums.unrealengine.com/u/P0k3r)\
**Post date:** [March 20, 2017, 4:16pm UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/2 "2017-03-20T16:16:00Z")

</div>

1st of all you’d probably be better off using the set and clear rider events instead since possessed and unpossessed both fire at the same time when you possess or unpossess it  
2nd, have your events set a rep notify then run the activate/deactivate code inside the rep notify

---

<div class="post-metadata">

**Author:** ![bestscreenname](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bestscreenname](https://forums.unrealengine.com/u/bestscreenname)\
**Post date:** [March 20, 2017, 6:07pm UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/3 "2017-03-20T18:07:34Z")

</div>

Hmm I know I originally started with the set and clear rider events, I don’t remember why I ended up changing but I’ll give that a shot when I get home. Thanks!

---

<div class="post-metadata">

**Author:** ![bestscreenname](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bestscreenname](https://forums.unrealengine.com/u/bestscreenname)\
**Post date:** [March 21, 2017, 3:25am UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/4 "2017-03-21T03:25:04Z")

</div>

Is this what you were referring to with the rep notify?

 ![help3.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/9/5491074f73fe3389f0bab5eef855b9b6915556a5.png)

---

<div class="post-metadata">

**Author:** ![P0k3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P0k3r](https://forums.unrealengine.com/u/P0k3r)\
**Post date:** [March 21, 2017, 2:45pm UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/5 "2017-03-21T14:45:01Z")

</div>

No. Should be like this:

 ![8f6091bd9379d35d3e85cb0357375e42.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/5/55eb7b0a3eb41118f40195a7414e375ca7b34eba.png)

Then run your code inside the rep function:

 ![7eb5a6b8a1228b4372d78e1c3f4b2787.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/3/83f5f76097025554f51c9ca7603de1d03322b268.png)

Rep notify is esentially a variable that fires a function from server that is replicated to in range clients whenever the value is changed or a client comes into replication range

---

<div class="post-metadata">

**Author:** ![bestscreenname](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bestscreenname](https://forums.unrealengine.com/u/bestscreenname)\
**Post date:** [March 21, 2017, 10:52pm UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/6 "2017-03-21T22:52:09Z")

</div>

Ok, I think I’ve got it. The mount/dismount activation and prevent movement both seem to be functioning the way I’d like them to. Does this look okay?

 ![test1.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/1/316b5f92e6edcd32730e562247646d398f575dd1.png)  
 ![test1.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/3/fc3238c1c35ab402e9de704e66f97969db41e735.png)

---

<div class="post-metadata">

**Author:** ![P0k3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P0k3r](https://forums.unrealengine.com/u/P0k3r)\
**Post date:** [March 22, 2017, 12:56am UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/7 "2017-03-22T00:56:28Z")

</div>

should work

---

<div class="post-metadata">

**Author:** ![bestscreenname](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bestscreenname](https://forums.unrealengine.com/u/bestscreenname)\
**Post date:** [March 22, 2017, 2:17am UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/8 "2017-03-22T02:17:51Z")

</div>

Nice, it works. Thanks for always helping everyone here. 🙂

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:34pm UTC](https://forums.unrealengine.com/t/event-not-functioning-on-dedicated-server/88045/9 "2022-03-09T21:34:12Z")

</div>


