Handle test: Difference between revisions
Jump to navigation
Jump to search

No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{CD|CHandleDummy|file1=1}} | {{CD|CHandleDummy|file1=1}} | ||
{{Ent not in fgd|nolink=1|because=both are useless for level creators}} | {{Ent not in fgd|nolink=1|because=both are useless for level creators}} | ||
{{This is a|entity|name=handle_test|name1=handle_dummy}} Both was created to test regarding the networking of entities. | {{This is a|entity|name=handle_test|name1=handle_dummy|notitlechange=1}} Both was created to test regarding the networking of entities. | ||
Developers comment in '''test_ehandle.cpp''': | Developers comment in '''test_ehandle.cpp''': |
Revision as of 05:02, 25 March 2025


![]() |
---|
CHandleTest |
![]() |
![]() |
---|
CHandleDummy |
![]() |

handle_test
and handle_dummy
are entities available in all Source games. Both was created to test regarding the networking of entities.
Developers comment in test_ehandle.cpp:
In this test, the server makes an entity (call it A) that has an EHANDLE to another entity (call it B). Intitially, A is sent to the client but B is not. Later, the server decides to send B to the client too. At that point, without resending A's EHANDLE, the client's EHANDLE should access B.
A means handle_test, B means handle_dummy.
Dedicated Console Variables
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
Test_EHandle | Void | This command runs the test. Running this command again will transmit the second entity. |