Page MenuHomeFeedback Tracker

getPlayerChannel dont trigger direct channel
Closed, ResolvedPublic

Description

Every other channel 1,2,3,4 trigger but not the direct channel...

Details

Legacy ID
3146760008
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

on server... execute:

_ret = [] spawn {while {true} do {if (getPlayerChannel player != -1) then {systemChat "you speak"}; uisleep 1;}};

Every other channel trigger the message, but dont the direct channel...

Event Timeline

shukari edited Steps To Reproduce. (Show Details)Aug 6 2015, 10:54 PM
shukari set Category to Scripting.
shukari set Reproducibility to Always.
shukari set Severity to None.
shukari set Resolution to No Bug.
shukari set Legacy ID to 3146760008.May 8 2016, 12:29 PM
shukari edited a custom field.

systemchat is local client command, how you execute it on server?

Tested this both on server and client

direct chat never gets detected always -1
command doesnt work at all on dedicated

Not a bug. The command functionality mimics engine methods and there are limitations. Please see updated description: https://community.bistudio.com/wiki/getPlayerChannel