View previous topic :: View next topic |
Author |
Message |
Wirmaple7321
Junior Member


Joined: 18 Mar 2018 Posts: 34 Location: Mashhad, Iran 32 Bank Notes
Items
|
|
There is a problem I have with Mafia 1.
I have an actor which Follows me with enemy_action_follow, He follows me, then when he kills a gangster or a Cop, He don't Stops Searching for another Enemy and don't follows me again. Crouches and Searches. Script:
dim_flt 1
dim_frm 1
dim_act 3
findactor 0, "Tommy"
findactor 1, "sam"
enemy_action_follow 0,10,CROUCH
human_addweapon 1, 10, 50, 200
Maybe that's a script to fix it. _________________
At least Mafia 1 Modding is easier than Mafia 2 Modding  |
|
Back to top |
|
 |
Wirmaple7321
Junior Member


Joined: 18 Mar 2018 Posts: 34 Location: Mashhad, Iran 32 Bank Notes
Items
|
|
nvm, I forgot the NOLINK thing. _________________
At least Mafia 1 Modding is easier than Mafia 2 Modding  |
|
Back to top |
|
 |
mammix
Member


Joined: 20 Sep 2014 Posts: 114 Location: Lublin, Poland 10618 Bank Notes
Items
|
|
I need to bump this.
Unfortunately, I have the same problem. Sam, who is supposed to follow me, forgets about following me as soon as he kills an enemy. He either sits in one place or runs to his death against 10 enemies or so.
I tried preety much everything. This is the script at this moment:
act_setstate -1,inactive
enemy_vidim 0
dim_act 50
dim_frm 50
dim_flt 50
findactor 0,"Tommy"
findactor 1,"Sam"
findactor 2,"Samscenka"
findactor 3,"wrog18"
findactor 4,"koniec"
findactor 5,"muzyka"
findactor 6,"wrog9"
findactor 7,"skrypt2"
findactor 8,"wrog10"
act_setstate 7,active
act_setstate 6,inactive
findframe 0,"wrog9"
frm_seton 0,0
act_setstate 4,active
ENEMY_GROUP_NEW 13
ENEMY_GROUP_ADD 13,1
ENEMY_GROUP_ADD 13,0
HUMAN_ADDWEAPON 1,9,7,777
HUMAN_RETURNFROMPANIC 1,1
enemy_brainwash
enemy_vidim 1
enemy_action_follow 0, 1, nolink, crouch, nonext
If anyone has any ideas how to make him a)follow me b) shoot bad guys who attack me, without waiting first for them to hurt me/him c) after bad guys are dead, to follow me again -
thank you in advance! |
|
Back to top |
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|