Author Topic: Tutorial Script  (Read 837 times)

I have an Idea, can someone make a script that has like
Code: [Select]
datablock{insertblankhere} [b]This means blank[/b]

particleblank[b]This means blank[/b]

This would make it easy to learn how to simply script

Look down, there are a few other topics about this.

Also, anything in a line after // is a comment. Ex:
Code: [Select]
%client.player.kill() //this kills the player

Look down, there are a few other topics about this.

Also, anything in a line after // is a comment. Ex:
Code: [Select]
%client.player.kill() //this kills the player
Code: [Select]
%obj.kill Thats how you kill a player btw ;D

You don't want %obj.kill, you want %obj.delete, It's much more efficient.

You don't want %obj.kill, you want %obj.delete, It's much more efficient.

Not telling people information is one thing, but teaching people incorrect information is a whole other kettle of fish.

%obj.kill(); will kill a player, and usually %obj can be obtained by %client.player.

If you don't have the (), I'm pretty sure it won't do anything.