AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   what entity L4D1 (https://forums.alliedmods.net/showthread.php?t=319321)

Aya Supay 10-24-2019 21:43

what entity L4D1
 
hello guys
what entity use to generate the witch warning instructor in l4d1 or give me an example thank you

example instructor You scared the witch :oops:


http://i.imgur.com/5mL23lo.jpg

Silvers 10-24-2019 21:46

Re: what entity L4D1
 
env_instructor_hint

Aya Supay 10-24-2019 22:46

Re: what entity L4D1
 
Quote:

Originally Posted by Silvers (Post 2670875)
env_instructor_hint

I use env_instructor_hint silver
but it seems that it doesn't work in l4d1 or I'm doing something wrong :oops:

PHP Code:

    char sTemp[64];    
    
int entity CreateEntityByName("env_instructor_hint");
    
Format(sTempsizeof(sTemp), "hint%d"client);
    
DispatchKeyValue(client"targetname"sTemp);
    
DispatchKeyValue(entity"hint_target"sTemp);
    
DispatchKeyValue(entity"hint_timeout"sTemp);
    
DispatchKeyValue(entity"hint_range""0.01");
    
DispatchKeyValue(entity"hint_icon_onscreen""icon_key_up");
    
DispatchKeyValue(entity"hint_caption""Test");
    
DispatchKeyValue(entity"hint_color""255 255 255");
    
DispatchSpawn(entity);
    
AcceptEntityInput(entity"ShowHint"); 


cravenge 10-25-2019 10:03

Re: what entity L4D1
 
I think it has something to do with the "witch_harasser_set" event cuz from my past tests, the same instructor hint appears whenever that is fired whether automatically or manually.

Also, env_instructor_hint only exists in L4D2 if I can recall correctly.

Marttt 10-25-2019 11:45

Re: what entity L4D1
 
The "env_instructor_hint" entity does not exist in the L4D1.
Maybe there is another way to show. I think the survivors upgrades plugin does something like that. But only on the client screen, not pointing to some kind of entity.

xZk 10-25-2019 18:56

Re: what entity L4D1
 
i think it's this entity: info_game_event_proxy.
But if you just want to create that witch announce, just create an event manually just like cravenge says


All times are GMT -4. The time now is 04:04.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.