razorjin Posted January 24, 2010 Author Share Posted January 24, 2010 **how to do this.When a player steps on a tile and a picture or a menu will show up.I want to create a tutorial like in kryce online,when you stepped on the tile a picture will show up.One more thing,How to create a custom attribute,like when you put a warp and needs level 3 to get to it.how to do that?IF you know tit please reply to this message immediately.thank you!** Link to comment Share on other sites More sharing options...
shadowchris Posted January 24, 2010 Share Posted January 24, 2010 I believe there is a script needed for that. Link to comment Share on other sites More sharing options...
edd Posted January 24, 2010 Share Posted January 24, 2010 basicly you need a script saying something like this :Case 1dim weaponcall flash(Index, "flash.flv")Exit Subput this in main.txt just under in case 1 slot or if you have used case 1,2,3 etc just use next case. btw you must put whatever you want to show in flash file in the client and call it flash.flv Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 24, 2010 Share Posted January 24, 2010 Err… lol what?```Case 1 Call Flash(Index, "flashfilename.swf") Exit Sub```You'll need a flash menu to do this (search FlashFX (MX?))Second part, add a scripted tile:```Case 1If GetPlayerLevel(index) > 3 Then Call PlayerWarp(index, Map, X, Y) ' CHANGE THESE VALUES!!!!Else Call PlayerMsg(index, "You are too weak to warp there.", RED)End If``` Link to comment Share on other sites More sharing options...
Jamesl Posted January 26, 2010 Share Posted January 26, 2010 Hi,Im trying to use cutscenes and i used;```Case 1 Call Flash(Index, "flash.swf") Exit Sub```Basicly my .swf plays a .flvHowever nothing happens? Link to comment Share on other sites More sharing options...
Tdogthedog Posted January 26, 2010 Share Posted January 26, 2010 not sure if it still works in Scripting but its eitherCall frmFlash(Index)or FrmFlash.Visible = True <<< don't think works Link to comment Share on other sites More sharing options...
Jamesl Posted January 26, 2010 Share Posted January 26, 2010 @TDog:> not sure if it still works in Scripting but its either> > Call frmFlash(Index)> > or FrmFlash.Visible = True <<< don't think worksTried this but still no luck :sad:By the way this is going in main.txt right?And also im using this for cutscenes so flash is not entirly nessicery. Is there a way of making it open a .wmv or something in an external player such as windows media? Link to comment Share on other sites More sharing options...
Tdogthedog Posted January 26, 2010 Share Posted January 26, 2010 you can make another form other then flash name it like FrmMovie or something then make a WMP object on the form and then try it that way Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 26, 2010 Share Posted January 26, 2010 @Jamesl:> Hi,> > Im trying to use cutscenes and i used;> ```> Case 1> Call Flash(Index, "flash.swf")> Exit Sub> ```Basicly my .swf plays a .flv> However nothing happens?Make sure the flash.swf is named flash.swf and is in the Client/Flashes Folder. Link to comment Share on other sites More sharing options...
Jamesl Posted January 27, 2010 Share Posted January 27, 2010 Ok soul, I don't think my file was in the right place :sad:. Also, do you know of an npc weapon script that I can use for call to Arms? 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