-
AS2 Dynamic Text help pls
hi, im making an "rpg" game and i need to make it so when you hit level 3 you can press CTRL to use a water sword. this is my script:
onClipEvent(enterFrame){
if(_root.LVL==3){
if(Key.isDown(Key.CONTROL)){
gotoAndStop(6);
_yscale =100;
}
}
}
the gotoandstop(6) is the frame of my character wherre hes holding the sword,
it all works, just. it ONLY works on level 3, can i make it so if it 3 or more i can do it?
If so please help me.
Thanks
Last edited by teh shame; 09-16-2008 at 02:13 AM.
-
Code:
if (_root.LVL >= 3) {
if (Key.isDown(Key.CONTROL)) {
gotoAndStop(6);
_yscale = 100;
}
}
-
hanks a bunch
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|