Orechalcos
-
Posts
10 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Calendar
Posts posted by Orechalcos
-
-
Orechalcos is not defined.
-
I just added in the then i missed, and reloaded the scripts, but when I talk to my NPC, all he says is the Hi I'm Trainer Lar…etc. bit. He won't say that I don't have the rabbit feet or that I do have them...
-
lol oops, forgot the then… thanks
-
thanks
EDIT
```
Sub ScriptedNPC(Index, Script)
Select Case Script
Case 0
Dim Exp
Dim x
Dim y
Dim z
Dim a
Exp = GetplayerExp(index)
x = 10
y = 20
z = 30
a = 5
If GetPlayerLevel(Index) <=5
Call PlayerMsg(index, "Hi! I'm Trainer Lar, and I'm here to teach melee combat! It's quite simple! Go out and use the CTRL key to attack some rabbits! Bring me back five rabbit feet.", 12)
If CanTake(Index, 2, 5) = false Then
Call PlayerMsg(Index, "You do not currently have the rabbit feet, please return when you do.", 12)
Else
Call TakeItem(index, 2, 5)
Call GiveItem(index, 1, 10)
Call PlayerMsg(index, "Now that you know the basics of combat, take this gold and go to Trainer Kude there, he'll tell you what to do next.", 12)
Call SetPlayerExp(index, Exp + x)
Call PlayerMsg(Index, "+10 EXP", 15)
Call SendStats(index)
End If
Else
Call PlayerMsg(index, "Sorry, but this tutorial is for new adventurers.", 12)
End If
Exit Sub
Case Else
Call PlayerMsg(Index, "No NPC script found. Please contact an admin to solve this problem.", WHITE)
Exit Sub
End Select
End Sub
```
This is my Scripted NPC sub in Main.txt, but it won't work… I put in my quest script, then went to NPC Editor and chose scripted npc on the tutor I made. I then chose script 0 went to the tutor and tried to talk to him, but nothing happened... help? -
Hi, I'm stupid and need to know…
Where do I put scripts for NPCs, Items, etc.? -
Use GIMP. It's exactly like PSCS3, but its free. I never ended up using it because we got photoshop in the end, for free aswell, so I don't know the web address. And don't ask where I got the free PS, there was a trojan horse in it. Still, we got photoshop.
-
Thanks. Another question, I just got EE 2.7, I had TE 1 for some reason. I'm just going to do it over again, I had only done one map, so it dont matter. Anyhow, I can't make my EE 2.7 account an admin, I go to my character on server, and all it says is my name and four squares… help?
-
Oh, thanks
-
Hi, I'm new, just got Eclipse yesterday.
When I log onto my game everything is blue, but then when I go onto my editor it's right.
When I go off my editor it becomes blue again.
How do I fix this?
Also, I may aswell ask some questions I need to know.
1\. How do I make players go into buildings when they touch entranceways/doors/etc.?
2\. How do I make quests?
3\. How do I make new classes?
4\. How do I make NPCs?
5\. How do I change the time?
Where do I put scripts for NPCs, Items, etc.?
in Programming Questions
Posted