PDA

View Full Version : Next Release


Wes
03-21-2003, 05:19 AM
If you guys can bare with me till next release, the next release i've fixed a ton of bugs, optimized code, added many new features.

* Added function support. Syntax: function function_name {
code; }. Call this with:
function_name("someparam,anotherparam").
There is no limit to the number of parameters you can pass to it,
they will be $param1 through $paramSOMENUMBER.

* Added %variables global support. If you put for code like
%variable.g = "Something"; That will be a global variable for any
npc to access but if you just use %variable without the ".g" it's
for that npc only.

* Added $npc_status(npctypeid) or $npc_status(npc_name).
Returns "up" or "down".

* Fixed alot of the $identifier functions such as $mid() etc. Added a
few more string functions.

* Fixed bug in if statement parsing having to do with "||".

* Fixed bug where if you used comas in commands() it would parse
it as a parameter instead of actual text.

* Added SetTarget("npctype/entity","id") sets the npc's target to
either an npctypeid given or an entity id given. Also added
FaceTarget().

* Added write("filename","text") - Later on more options will be
added to this function. Also added $read(filename,line#) more
options to be added on this one also.

* Added EVENT_SLAY for when an npc slays a pc.

* Added EVENT_WAYPOINT for when an npc reaches a waypoint
also added $wp to return the waypoint number that the npc
is heading to.

* Added Follow("id") and Sfollow() mostly using $userid npc will
follow pc around until Sfollow() is called.

That's all I can think of off top of my head. More to come.

LiquidOrgasm
03-21-2003, 07:01 AM
You are teh l337.

mByte
03-26-2003, 06:56 PM
Any chance of getting a pause(time)

for like in the ring war you have like 180sec between waves after the Main guy for the wave is killed.

Mortimus
03-27-2003, 09:07 AM
I would also like money turns ins like $pp, $gp, $sp, $cp.