Can i slow down animation speed between 2 idle?
[CODE]
AddCSLuaFile()
ENT.Base = "base_nextbot"
ENT.Spawnable = true
function ENT:Initialize()
self:SetModel( "models/humans/group02/male_02.mdl" )
end
function ENT:RunBehaviour()
local idles = {"scaredidle","lineidle01","lineidle02","lineidle03","lineidle04"}
while ( true ) do
self:SetSequence( idles[math.random(1,#idles)] )
coroutine.wait(2)
coroutine.yield()
end
end
list.Set( "NPC", "nextbot_test1", {
Name = "Test bot",
Class = "nextbot_test1",
Category = "Nextbot"
} )
[/CODE]
P.S. And 1 more question how can i use g_clap sequence?? if i use
[CODE]
self:PlaySequenceAndWait( "g_clap" )
[/CODE]
player rotate 90deg and standing still
P.S. Sorry for my English
Sorry, you need to Log In to post a reply to this thread.