Forum

> > CS2D > Maps/Editor > Press button to spawn weapons
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English Press button to spawn weapons

6 replies
To the start Previous 1 Next To the start

old Press button to spawn weapons

Whaitas
User Off Offline

Quote
hey im making jail map and i need help how to make the
then you click the button it drops weapon ? . sorry i suck on maps

Admin/mod comment

"Need fast!" = retarded and pointless title. fixed for you. please think about a good title before posting! /DC

old Re: Press button to spawn weapons

Hador
User Off Offline

Quote
in the editor, you need to create a "trigger_use" and a "env_item" entity.

double-click on the "trigger_use".
at the top right, you can choose, what the button should look like, default is invisible.
at the top left, put something into the "trigger" textfield, and remember what you put there.
now double-click on the "env_item".
put the same thing that you typed into the "trigger"-textfield of the "trigger_use" into the "name"-textfield of the "env_item".
at the top right, choose the weapon you want to have, and choose the option "on trigger only".

That was it!
if you don't understad something, this might help.

old Re: Press button to spawn weapons

Whaitas
User Off Offline

Quote
oh thanx i didn't do the "choose the option "on trigger only"." so the gun spawned on start

just made it
edited 1×, last 23.10.11 01:22:06 pm
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview