Legendary Tales Official Website
News Search:
Home · Articles · Downloads · Discussion Forum · RegisterMarch 10 2010 17:32:41
Navigation
Home
Articles
Downloads
Discussion Forum
Web Links
News
Contact Me
Screenshots
Search
Login
Username

Password

Save



Not a member yet?
Then register.

I forgot my password.

Why register?
Newsletter
Subscribe now to receive important news, game releases and site updates
Buy 3 Skulls only $9.99


Download a demo

Full version download immediately after purchase!

You can use any credit card.

Visa Mastercard American Express Discover
Affiliates
You can now offer your support and also make money by selling 3 Skulls RPG. You receive 30% commision per sale. If you do not want to let this opportunity pass then act now and register for free.

You will get your own affiliate Control Panel from where you can generate the links to put on your webpages and monitor your generated sales.

Affiliate Registration
Relevant Content
Learning JScript
To write your own scripts in Legendary Tales, you will need to learn the scripting language. It is an object-oriented language that is easy to learn. We'll start with the functions.
The functions keep the script orderly. There are built in functions, but you can create your own.
The built in functions are, in alphabetical order:

OnCombatMove, OnCommand, OnCommandLine, OnCopySpell, OnCustomAction, OnDead, OnDialog, OnEnter, OnEquip, OnExamine, OnExecute, OnExit, OnFindTraps, OnFirstEnter, OnIdentify, OnInfo, OnInsertInto, OnLook, OnMessage, OnModify, OnOpen, OnOperate, OnPickLock, OnPickUp, OnRemoveTrap, OnRest, OnShopService, OnTakeOut, OnUnequip, OnUnlock, OnUse and OnUseWith.

You may make your own functions by using a call for them, like so...

function MyFunction(){
Echo("This is a player made function.");
}

I will not go into great depth explaining all the engine functions, you can choose to read them from this file:
http://legendarytales.wikispaces.com/space/showimage/Functions.txt

There are also actions, that are placed in the function. They define what you want to happen. Most of them have parameters you must fill in but for the sake of space I won't put them in too, they can be found in the help file. So, in alphabetical order:

AddContent, AddExit, AddItem, AddOption, AddPartyMember, AddShopService, AlterExitVisibility, AlterVisibility, AwardExperience, BeginOptions, BeginShop, ClearOptions, ClearText, Echo, EnterCombat, Force, Foreach, GetInput, GetValue, Global, GlobalPer, GlobalRem, ID, Identify, ItemEquipped, ItemExists, Kill, Load, LoadLocation, LoadMap, MoveContent, Msg, Name, NewJournalEntry, NewQuest, OpenShop, PartyGold, PlaySample, PlaySound, ProcessOptions, RaiseDead, RemoveItem, RemovePartyMember, RemovePoison, RemoveQuest, RestParty, Rnd, SendMsg, SetSwitch, SetValue, ShowText, SkillValue, Switch, SysParam, TakeDamage, ThrowDice, tID, Unlock, UpdateMap, UpdateQuest, UseLib and UseQuickItem.

A short description of each in this file:
http://legendarytales.wikispaces.com/space/showimage/Commands.txt

There is also the objects, they are: ActivePlayer, Current, Self, Sender and Target. You can make things happen to the specific object by adjoining the entity to an action. Like so...

Self.Identify();

That command string can go in a script that might allow a player to identify an item.
Comments
No Comments have been Posted.
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 75% [3 Votes]
Very Good Very Good 0% [No Votes]
Good Good 25% [1 Vote]
Average Average 0% [No Votes]
Poor Poor 0% [No Votes]
RSS Newsfeed
King's Island II
Isometric action RPG
Dragon Age Journeys
Flash version of Dragon Age
Gemstone Dragon
Isometric flash RPG
Fantasy Kommander
Flash miniature RPG game
Troll's Rage
Platform RPG
Sin Mark
Action Fantasy Game
King's Island
Isometric Flash RPG
Zelda Classic
Zelda classic RPG for Flash
Seeds Of Darkness
Mardek
Top-down classic RPG
 
Darkness Springs
Isometric Action RPG
Murloc
Fun WoW based RPG game
Monster's Den
Classic dungeon crawl RPG
Dungeon Defender
Strategy RPG game
A PBBG Game
Legendary Tales Online is a PBBG.
Suggestions
Copyright www.legendarytales.com © 2001 - 2010

Terms Of Service Privacy Policy