Covernant Posted February 22, 2007 Share Posted February 22, 2007 Well i started doing this scripting thingy like 5 days ago. And i was stuck. Didn't know what to do next... So i decided to study someone elses script and in a way copy it by my logic z.z So i chose spaceeinstein Headlights mod... I used sannybuilder. Not sure i got the right topic z.z lol Ok i made/copy/rip... this... :PlayerLights0001: wait 100 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false @PlayerLightsif 100DF: actor $PLAYER_ACTOR drivin03C0: [email protected] = actor $PLAYER_ACTOR car 00E1: key_pressed 0 11004D: jump_if_false @PlayerLights2 067F: set_car [email protected] headlights 20002: jump @PlayerLights:PlayerLights200E1: key_pressed 0 10004D: jump_if_false @PlayerLights067F: set_car [email protected] headlights 1jump @PlayerLights So what did i do wrong? It works but if i made any mistakes then i would be happy to know what where those ... mistakes... eugh? Next time i won't imitate someone elses mod... lol Link to comment Share on other sites More sharing options...
space_einstein Posted February 23, 2007 Share Posted February 23, 2007 004f: create thread @PlayerLights :PlayerLights 0001: wait 100 ms 00D6: if 0 0256: player $PLAYER_CHAR defined 004D: jump_if_false @PlayerLights 00D6: if 1 00DF: actor $PLAYER_ACTOR drivin 004D: jump_if_false @PlayerLights //<-- forgot this 03C0: [email protected] = actor $PLAYER_ACTOR car 00D6: if 0 //<-- forgot this 00E1: key_pressed 0 11 004D: jump_if_false @PlayerLights2 067F: set_car [email protected] headlights 2 0002: jump @PlayerLights :PlayerLights2 00D6: if 0 //<-- forgot this 00E1: key_pressed 0 10 004D: jump_if_false @PlayerLights 067F: set_car [email protected] headlights 1 0002: jump @PlayerLights Link to comment Share on other sites More sharing options...
Covernant Posted February 23, 2007 Author Share Posted February 23, 2007 But whats the difference? They worked before too... i know i asked what did i miss n so.. but does the script get much better if i add those? I don't see any difference... Link to comment Share on other sites More sharing options...
space_einstein Posted February 23, 2007 Share Posted February 23, 2007 If it works, then ignore the corrections. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now