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 a cop back to being a cop

 problem with random cop after make tasks
 
Junior_Djjr  
Posted: Saturday, Jul 21 2012, 19:19
Quote Post


CLEO/SCM-MAP-TXD
Group Icon
Group: Members
Joined: Dec 16, 2011

ba.gif

XXXXX



i'm making the new version of my mod "Hide of the Cops", but i'm having a problem

i make, when you hide of the cops, a near cop walk to your last seen location search for you
butttttttttt after of this task, the actor is no longer being a cop, no more atack you... only with opcode 05E2: (obvious) but, using this opcode he never stop to shoot on you.... (also does not work removing references...)
the script is simple...
CODE
...
actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
07CD: AS_actor 0@ walk_to 1@ 2@ 3@ stop_with_angle 0.0 within_radius 2.0

while 80FE:   not actor 0@ sphere 0 in_sphere 1@ 2@ 3@ radius 3.0 3.0 3.0
   wait 0
   if 09ED: actor 0@ is_within_field_of_view_actor $PLAYER_ACTOR
   then
       //and now?  
       break
   end
end
...


how to cop back to being a cop? | how to make this without the ator turn be a "civ_male"?
and sorry for my english...
Users WebsitePM
  Top
 

 
Wesser  
Posted: Saturday, Jul 21 2012, 22:28
Quote Post


The complexity simplifier, the efficiency optimizer
Group Icon
Group: Members
Joined: Aug 19, 2006

eu.gif

Member Award




Try to clear any of the ped's tasks with 0687.
PMMSNPlayStation Network
  Top
 

 
Junior_Djjr  
Posted: Saturday, Jul 21 2012, 23:36
Quote Post


CLEO/SCM-MAP-TXD
Group Icon
Group: Members
Joined: Dec 16, 2011

ba.gif

XXXXX



QUOTE (Wesser @ Saturday, Jul 21 2012, 22:28)
Try to clear any of the ped's tasks with 0687.

sorry, i forgot to tell, i already tried that
don't worked too
Users WebsitePM
  Top
 

 
Wesser  
Posted: Sunday, Jul 22 2012, 11:16
Quote Post


The complexity simplifier, the efficiency optimizer
Group Icon
Group: Members
Joined: Aug 19, 2006

eu.gif

Member Award




Give us your full source code. In the meantime, make another try with 0792.
PMMSNPlayStation Network
  Top
 

 
Junior_Djjr  
Posted: Sunday, Jul 22 2012, 20:48
Quote Post


CLEO/SCM-MAP-TXD
Group Icon
Group: Members
Joined: Dec 16, 2011

ba.gif

XXXXX



thx Wesser, worked now!
i had never thought to use this opcode
Users WebsitePM
  Top
 

 

1 User(s) are reading this topic (1 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