reference:server_commands:weapon_commands
This is an old revision of the document!
Table of Contents
Weapon commands
These commands are most commonly used from script to add weapons or particles to your world
*weaponfire
| Format | *weaponfire [weapon_num],[from_playerid],[world_X],[world_Y],[world_z],[target_x],[target_y],[target_z],[param] |
|---|---|
| Description | Adds a weapon to the world |
| Example | *attach Bob |
|---|
*weaponfirespread
| Format | *weaponfirespread [spread_type],[spread_range],[num_weaps],[weapon_num],[from_player],[world_X],[world_Y],[world_z],[vel_x],[vel_y],[vel_z],[param] |
|---|---|
| Description | Adds a batch of weapons to the world |
| Example | *attach Bob |
|---|
If you're using the old-school method of modifying your server's Data\Weapons.txt to set up weapons, dont forget to use
*refreshweap to reload the file
reference/server_commands/weapon_commands.1424884101.txt.gz · Last modified: (external edit)
