Jump to content

bots team


RekZ

Recommended Posts

Antes de pedir ayuda acá, te recomiendo mirar la Wiki, muchas veces tiene respuestas claras y acá solo acabamos por citarlas.

Respecto a la cooperación por equipos:

Cooperation: Bots can automatically team up with teammates (either player or bot) by meeting up with them and sticking together

Para cambiarlos de Team:

setBotTeam

changes the bot's team and loyalties

Syntax

bool setBotTeam ( element theBot, team theTeam ) 

Required Arguments

- theBot: The bot you want to change the team of

- theTeam: The team the bot should join

En caso de que quieras que no maten a otro Bot aunque este no este en su team.

onBotFindEnemy

This triggers when a bot locates an enemy, This event can be cancelled to prevent the bot from chasing players

Parameters

- element enemy

- enemy: The Player or Ped the bot has spotted

Source

The source of this event is the Bot that has found an enemy

De esta ultima no estoy muy seguro por su descripción, pero siempre puedes editar el recurso para que haga lo que desees.

Link to comment

e_e mire la wiki antes ke nada no soy gilipoyas... ni retrasado ademas ahora no se puede pedir ayuda... o ke... , pero como lo intente varias veces con setbotteam decidi pedirla , aunque ya lo consegi gracias igualmente por vuestra atencion

Link to comment

no , al principio los puse sin team supuse que no haria falta asta que me encontre el problema , asi que añadi los bots al team de "zombis" ( que uso para los zombis logicamente ) aunque ahora no ataca a los zombis , ya solucionare eso mas adelante por ahora no me es urgente

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...