Page 4 of 4 FirstFirst ... 2 3 4
Results 31 to 32 of 32

Thread: January 26 Bot Update

  1. #31
    Basic Member
    Join Date
    Dec 2016
    Posts
    732
    npcBot is a variable whereas GetBot() is a function.

    Use "if not npcBot:IsAlive() then" for checking if dead

  2. #32
    Basic Member
    Join Date
    May 2014
    Posts
    270
    Yeah I knew, I just miss type it. Wups, I miss read it on http://docs.moddota.com/lua_bots sorry. I search for IsDead() but I found nothing. Thank you.
    Last edited by arz_on4dt; 01-28-2017 at 09:02 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •