![]() |
look at this I made a script for my map. Whats wrong with it? Everything works, but the game goes really slow when I load the map. It didnt before I added the script. Im trying to learn scripting so please help void main(); void init(); void picard(); void cadet2(); void cadet3(); void cadet4(); void lights(); void init() { thread picard(); thread cadet2(); thread cadet3(); thread cadet4(); thread lights(); } void main() { soundtrack( "music/m2l1-sfa.mus" ); thread init(); } void picard() { $picard.ai_off(); wait(2); $picard.anim( "cin-m6l0-engineering-femalea" ); thread picard(); } void cadet2() { $cadet2.ai_off(); wait(2); $cadet2.anim( "ent-sickbed-sitting-gesture1" ); thread cadet2(); } void cadet3() { $cadet3.ai_off(); wait(2); $cadet3.anim( "conv-talk3" ); thread cadet3(); } void cadet4() { $cadet4.ai_off(); $cadet4.walkto("$way1"); waitfor($cadet4); $cadet4.walkto("$way2"); waitfor($cadet4); $cadet4.anim( "ent-guard-gesture" ); thread cadet4(); } void lights() { $world.light_lightstyle( "light01", "aaaaazzzzzaaaaazzzzzjjaaaaaazzzzaaaajaaaajzzzzzaz azazajjzaaaaazzkahjszwufkjaz", 0 ); thread lights(); } |
Re: look at this wut the heck is this? aaaaazzzzzaaaaazzzzzjjaaaaaazzzzaaaajaaaajzzzzzaza zazajjzaaaaazzkahjszwufkjaz |
Re: look at this that is for making the light flash.. like a shader.. i found it off a tutorial, it works is that whats causing the slowdown of the gameplay? |
Re: look at this wait i solved it. thanx anyway =) |
| All times are GMT -7. |
Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.