News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Enemy?  (Read 2914 times)

0 Members and 1 Guest are viewing this topic.

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Enemy?
« 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

Offline Davidlam

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Enemy?
« Reply #1 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

Offline BullworthChampion

  • The Champ
  • Sr. Member
  • ***
  • Posts: 732
  • Gender: Male
  • Straight up awesome.
    • View Profile
Re: Enemy?
« Reply #2 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!!

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Enemy?
« Reply #3 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.

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Enemy?
« Reply #4 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 :)


Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: Enemy?
« Reply #5 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)
« Last Edit: January 18, 2014, 08:46:49 AM by LostInSpace »

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Enemy?
« Reply #6 on: January 18, 2014, 05:18:19 PM »
thanks all
@LostInSpace Good work ;D

Offline BullworthChampion

  • The Champ
  • Sr. Member
  • ***
  • Posts: 732
  • Gender: Male
  • Straight up awesome.
    • View Profile
Re: Enemy?
« Reply #7 on: January 25, 2014, 06:01:58 PM »
Use that swegta mane!