IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Make police attack actor

 
HeresOtis  
Posted: Thursday, Jul 26 2012, 21:43
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Apr 29, 2011

XXXXX



What opcode can I do to make all police (game generated and CLEO-created) attack/kill a CLEO-created actor?

Would 09B6: set_actor 0@ wanted_by_police 1 be all I need?
PM
  Top
 

 
HeresOtis  
Posted: Friday, Jul 27 2012, 21:59
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Apr 29, 2011

XXXXX



Can anyone confirm this?
PM
  Top
 

 
Deji  
Posted: Friday, Jul 27 2012, 22:41
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



Can't you confirm it the old fashioned way... by testing it? If it works, this topic was completely pointless. If it doesn't, we may be able to help in other ways...
Users WebsitePM
  Top
 

 
HeresOtis  
Posted: Friday, Jul 27 2012, 23:27
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Apr 29, 2011

XXXXX



Seems like the opcode doesn't even work. They do nothing.
PM
  Top
 

 
DK22Pac  
Posted: Friday, Jul 27 2012, 23:46
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



As I remember it works only for peds in vehicle.
Users WebsitePM
  Top
 

 
HeresOtis  
Posted: Friday, Jul 27 2012, 23:55
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Apr 29, 2011

XXXXX



QUOTE (DK22Pac @ Friday, Jul 27 2012, 23:46)
As I remember it works only for peds in vehicle.

Indeed.
PM
  Top
 

 
JACK JONES  
Posted: Saturday, Jul 28 2012, 07:53
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



QUOTE (HeresOtis @ Thursday, Jul 26 2012, 21:43)
What opcode can I do to make all police (game generated and CLEO-created) attack/kill a CLEO-created actor?

Would 09B6: set_actor 0@ wanted_by_police 1 be all I need?

Try this:
CODE
0746: set_acquaintance 4 of_actors_pedtype 6 to_actors_pedtype 4

The first number 4 is for temper:
1 - Repsect
2 - Like
3 - Dislike
4 - Hate
Number 6 should be police and number 4 male civil. Put some other pedtype if your actor isn't 4. Also try 077A. I didn't tested them but from what I have red on the opcode database they could maybe do that trick.

This post has been edited by JACK JONES on Saturday, Jul 28 2012, 08:44
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG