Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to do this(when a player steps on a tile and a picture/menu will show up)


razorjin
 Share

Recommended Posts

**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

basicly you need a script saying something like this :
Case 1
dim weapon
call flash(Index, "flash.flv")
Exit Sub
put 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

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 1
If 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

@TDog:

> not sure if it still works in Scripting but its either
>
> Call frmFlash(Index)
>
> or FrmFlash.Visible = True <<< don't think works

Tried 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...