PDA

View Full Version : [Help]Hostage, follow terrorist


children
10-16-2014, 10:17
hello
I don't know hostage follow terrorist...


new hostage = CreateEntityByName("hostage_entity");
DispatchKeyValueVector(hostage, "Origin", position);
DispatchSpawn(hostage);


how to follow terrorist?
and how to hostage set speed?

please help me...



I'm not good at English, sorry

kadet.89
10-17-2014, 06:46
https://forums.alliedmods.net/showthread.php?t=157075

Use these datamaps:

http://world-source.ru/datamaps.txt

hostage_entity -> m_flSpeed
// Set Movement leader (client)
SetEntProp(ent, Prop_Data, "m_leader", client, 1);