[EO] open picture (rmMainGame)

I have scripted npc,

I want the NPC attacks jumped window - frmMainGame like pic123q

how to do it? (Paste the scripts to the server …)?

someone gave to me this functionality?, because I’ve tried a lot: /

What is your native language? Your English is a little difficult to understand.

translator google ://///

Ehhh
can … otherwise

I want to …. go - CTRL - NPC

and that - I displays, for example - pic123 - frmmaingame


I have a script - which will

paste - to scripted npc (the server)

I think he wants the follow:

If you attack a NPC (With CTRL button ofcourse) the NPC will pop up a picture.

Not sure if I’m correct. Actually, I’m still unsure of what exactly is meant.

But from what I CAN tell, (it think) they just want to paste in a scripted NPC they got somewhere.

Answer: EO doesn’t have a scripting language.

Word of the day (Robin’s Version):“No.”

but Adr990 might also be correct o.o

you put that scripted npc system /\

and this code

pic123q.visible=true

I think works 😧

If you attack a NPC (With CTRL button ofcourse) the NPC will pop up a picture.

here is - just it

@DshWinchester:

you put that scripted npc system /\

and this code

pic123q.visible=true

I think works 😧

not works… 😕

Answer: EO doesn’t have a scripting language…

but I do - I did … (Scripted NPC)

try this

make a form1 (form1)

Form1.Picture = LoadPicture(App.Path & “\fotos\npc.jpg”)

make a folder called fotos in your server and put the picture named npc.jpg

o.O

I try this just now for my quest

An even simpler script is…

Case 1
   If CustomMenuPicture(Index, 0, "\GUI\CUSTOM\MENU\Picture1.gif", 30, 70) = False then
        Call CustomMenuPicture(Index, 0, "\GUI\CUSTOM\MENU\Picture1.gif", 30, 70)
   End If
End Sub

This is only a base, read a half a tutorial and you’ll figure out how to make it work after implementing scripted NPC’s into EO. And if you don’t want to add the CustomMenuPicture sub. Then just use the…

frmMainGame.PictureBox1 = LoadPicture(App.Path & "\GFX\Custom\Picture1.jpg")

And of course you’ll make this activate when the npc is being attacked. With a simple search you can figure that one out. And if you get some kind of error related to his information. Change frmMainGame to Me. Which should only happen if you use the code within the form. Which is a bit strange since the NPC scripts are server side.

ehh 😕

Learn how to make a catch for the vbCtrlKey being pressed and it effecting the NPC, then have it use this command edited to suite your directory.

frmMainGame.PictureBox1 = LoadPicture(App.Path & "\GFX\Custom\Picture1.jpg")
```Or you could have a picturebox with a pre-loaded image and just have```
frmMainGame.PictureBox1.show
```Or instead of .show you could use .Visible = True which if the picturebox1 object exists the intelii-sense should pick it up.
Log in to reply