Bot won't set angle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bot won't set angle (
/showthread.php?tid=337797)
Bot won't set angle -
lolumadd_ - 27.04.2012
SetPlayerFacingAngle
and
SetMyFacingAngle
on my NPC's
REFUSE to function. Any help?
Also, If you teleport a bot to you, it teleports the first time. Everytime I try to teleport it after that, it doesn't work until I go a far enough distance so the bot streams out.
If you spawn the bot it teleports to the last place you teleported it to
Re: Bot won't set angle -
ReneG - 27.04.2012
It's
SetMyFacingAngle for NPC's.
Re: Bot won't set angle -
Crazymax - 27.04.2012
Re: Bot won't set angle -
lolumadd_ - 27.04.2012
But it changes dynamically...and I can't find how to make the script and botscript communicate because the dam OnClientMessage callback in the NPC mode won't work!
Re: Bot won't set angle -
Crazymax - 27.04.2012
what? tell me what you mean... explain
https://sampwiki.blast.hk/wiki/NPC:OnClientMessage
here.. and search for more examples on the forums.. i'm sure there's plenty
Re: Bot won't set angle -
lolumadd_ - 27.04.2012
and SetMyFacingAngle via the bot script doesn't work either.
Re: Bot won't set angle -
Danny1 - 27.04.2012
Post here you code.
Re: Bot won't set angle -
lolumadd_ - 27.04.2012
SetPlayerFacingAngle and SetMyFacingAngle won't have any effect. I don't have ANY other code that could possibly be interfering.
Re: Bot won't set angle -
Crazymax - 27.04.2012
why not effect? Did u try in your gamemode/bot fs? SetMyFacingAngle
NOT SetPlayerFacingAngle
Re: Bot won't set angle -
lolumadd_ - 29.04.2012
Also, If you teleport a bot to you, it teleports the first time. Everytime I try to teleport it after that, it doesn't work until I go a far enough distance so the bot streams out.
REALLY need help on this.