FAQFAQ    Board RulesBoard Rules    SearchSearch    LotteryLottery    RouletteRoulette    UsergroupsUsergroups
     RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Shop    Log inLog in 
View posts since last visitView your postsView unanswered posts

Script when leaving salieri bar

 
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Modding
View previous topic :: View next topic  
Author Message
lubomir222

New Member
New Member


Joined: 27 Feb 2020
Posts: 15

42 Bank Notes
Items

PostPosted: Mon Mar 16, 2020 5:04 pm    Post subject: Script when leaving salieri bar Reply with quote

Hey i just wanted to ask if anyone doesnt know to script when you leaving salieri bar when you are in car and then change to city? Thanks for help
Back to top
View user's profile Send private message
zdenda55

Junior Member
Junior Member


Joined: 30 Sep 2017
Posts: 41
Location: Czech Republic
49 Bank Notes
Items

PostPosted: Thu Mar 19, 2020 9:53 pm    Post subject: Re: Script when leaving salieri bar Reply with quote

You mean script change_mission ?
Back to top
View user's profile Send private message
lubomir222

New Member
New Member


Joined: 27 Feb 2020
Posts: 15

42 Bank Notes
Items

PostPosted: Fri Mar 20, 2020 2:35 pm    Post subject: Script when leaving salieri bar Reply with quote

Yes. Its not working for me
Back to top
View user's profile Send private message
zdenda55

Junior Member
Junior Member


Joined: 30 Sep 2017
Posts: 41
Location: Czech Republic
49 Bank Notes
Items

PostPosted: Sat Mar 21, 2020 7:48 pm    Post subject: Re: Script when leaving salieri bar Reply with quote

Send me the script here.
Back to top
View user's profile Send private message
lubomir222

New Member
New Member


Joined: 27 Feb 2020
Posts: 15

42 Bank Notes
Items

PostPosted: Sat Mar 21, 2020 8:55 pm    Post subject: Script when leaving salieri bar Reply with quote

dim_flt 1
dim_act 1
findactor 0, "Tommy"

act_setstate 100, inactive

label 1
detector_inrange 0, 5
if flt[0] = 1, -1, 1

inventory_push 0
character_push 0

change_mission "mise16-mesto", "load z tutorial", -1

I using BSV 6
Back to top
View user's profile Send private message
zdenda55

Junior Member
Junior Member


Joined: 30 Sep 2017
Posts: 41
Location: Czech Republic
49 Bank Notes
Items

PostPosted: Thu Mar 26, 2020 12:37 pm    Post subject: Re: Script when leaving salieri bar Reply with quote

Hmm, your script is deactivated. Try to delete act_setstate 100, inactive. Or are you activeting that with another script?
Back to top
View user's profile Send private message
mammix

Junior Member
Junior Member


Joined: 20 Sep 2014
Posts: 84
Location: Lublin, Poland
1967 Bank Notes
Items

PostPosted: Fri Mar 27, 2020 9:32 am    Post subject: Script when leaving salieri bar Reply with quote

Probably you have a problem with "detector" part of the script. It seems not to work for modders, me included.
Use "GETACTORSDIST XX,YY,ZZ" script instead.
Back to top
View user's profile Send private message
lubomir222

New Member
New Member


Joined: 27 Feb 2020
Posts: 15

42 Bank Notes
Items

PostPosted: Fri Mar 27, 2020 11:02 pm    Post subject: Script when leaving salieri bar Reply with quote

Thanks for all the help. Now my script is working and the mission will load now. Thank you all!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Modding All times are GMT
Page 1 of 1

 
Jump to:  
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

Generation Time: 0.018 | Queries: 18