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

Can i put cutscene after i enter into a car?

 
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: 11

31 Bank Notes
Items

PostPosted: Thu Feb 27, 2020 4:47 pm    Post subject: Can i put cutscene after i enter into a car? Reply with quote

Hello i wanted to ask if you don't know how to put cutscene or some objective after you enter into car you want?
Back to top
View user's profile Send private message
mammix

Junior Member
Junior Member


Joined: 20 Sep 2014
Posts: 72
Location: Lublin, Poland
1777 Bank Notes
Items

PostPosted: Thu Feb 27, 2020 9:41 pm    Post subject: Can i put cutscene after i enter into a car? Reply with quote

There's a script:
COMPAREOWNERWITHEX WW,XX,YY,ZZ
ww == ID of actor to check if there in car xx
xx == ID of car we want to know if Actor ww is in
yy == label to jump to when condition is true
zz == label to jump to when condition is false

so, let's say you want Tommy (actor 0) to enter car (actor 1) and then stuff happens:

label 9
COMPAREOWNERWITHEX 0,1,-1,9

and under that you do whatever you want to happen next Smile
Back to top
View user's profile Send private message
lubomir222

New Member
New Member


Joined: 27 Feb 2020
Posts: 11

31 Bank Notes
Items

PostPosted: Thu Feb 27, 2020 11:30 pm    Post subject: Can i put cutscene after i enter into a car? Reply with quote

Thank you mate!
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.011 | Queries: 18