Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: DarbyHarringtonMind on January 13, 2014, 04:20:03 AM

Title: Enemy?
Post by: DarbyHarringtonMind on January 13, 2014, 04:20:03 AM
Hi guys
can u guys tell me how to make enemy in LUA??
i mean is, like in mission in the map u can see RED dot is mean the Enemy.
i want make a MOD
help me guys
thanks.. :D :D
Title: Re: Enemy?
Post by: Davidlam on January 13, 2014, 07:33:57 AM
ask this guy, he know how to do it
http://www.bully-board.com/index.php?topic=20188.0 (http://www.bully-board.com/index.php?topic=20188.0)
Title: Re: Enemy?
Post by: BullworthChampion on January 13, 2014, 12:35:16 PM
There's a video by SWEGTA, he has links on his YouTube video description. It has where you can get the mod, the downloader for Notebook required. The whole nine.

400th POST!!
Title: Re: Enemy?
Post by: c00ld0c26 on January 14, 2014, 01:58:35 AM
Simple use :

AddBlipForChar()

I can't give the parameters yet as I am not at home (I got all the stuff in my custom missions scripts).
Even tho to make the arrow and the X red the ped MUST attack the player.
It won't work if he won't attack.
Title: Re: Enemy?
Post by: DarbyHarringtonMind on January 14, 2014, 10:24:21 AM
Simple use :

AddBlipForChar()

I can't give the parameters yet as I am not at home (I got all the stuff in my custom missions scripts).
Even tho to make the arrow and the X red the ped MUST attack the player.
It won't work if he won't attack.
Can you explain more clearly?
because i really need this,help me :)

Title: Re: Enemy?
Post by: AlphaTech on January 18, 2014, 08:42:53 AM
I have some scripts from my beta mission mod.
  Davis = PedCreateXYZ(99, -544.7495117+1, -30.87559319+1, 35.73596954+1)
  PedSetAITree(Davis, "/Global/RusselAI", "Act/AI/AI_RUSSEL_1_B.act")
  DavisBlip = AddBlipForChar(Davis, 6, 2, 2)
  PedAttackPlayer(Davis, gPlayer,1)
  PedShowHealthBar(Davis, true, "N_Davis", true)
  bHealthBarShown = true
  PedSetPedToTypeAttitude(Davis, 13, 0)
  PedSetHealth(Davis, 675)
Title: Re: Enemy?
Post by: DarbyHarringtonMind on January 18, 2014, 05:18:19 PM
thanks all
@LostInSpace Good work ;D
Title: Re: Enemy?
Post by: BullworthChampion on January 25, 2014, 06:01:58 PM
Use that swegta mane!