Jump to content

Home

scripting


Mr. Chopper

Recommended Posts

Check these tutorials:

 

http://www.geocities.com/kengomaps/tutorials.html

 

For getting started on scripting.

 

You can use target_print in Radiant to print messages however, and I haven't found any way of doing the same thing through scripting except to use a target_print in Radiant, so although scripting is uesful it may not be so handy for this situation. Not sure how you'd set it to change depending on the player name...

Link to comment
Share on other sites

There's a print command in scripting, all right. Just use it to print whatever stuff on the screen you want. That Kengo said he found no way to do it in scripting means only that in JO he forgot to insert an exclamation mark in front of the actual text. Check the example from one of my Lighthouse scripts below:

 

print ( "!Please shut down the energy converter to avoid radiation leakage." );

 

This doesn't mean you would have to use the exclamation mark also in JA, but it's a little effort to try it out. And I have no idea how to print the player name. I don't map MP, and probably never will.

 

Haven fun time scripting!

Link to comment
Share on other sites

Originally posted by lassev

There's a print command in scripting, all right. Just use it to print whatever stuff on the screen you want. That Kengo said he found no way to do it in scripting means only that in JO he forgot to insert an exclamation mark in front of the actual text.

 

Curses! Man, another mistake on my part, thanks for correcting me Lasse :) What I meant to say is...err...yes, you can do it. :cool:

Link to comment
Share on other sites

thats something ive been wondering too... i know i saw a kill tracker (no, i dont use it) but when you wanted to type the message like (i killed [player name]) you would put a %n for the person you killed... might work, or it might just be the kill tracker code, ive been meaning to try it out though, just never did.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...