• How to make a button spawn a prop?
    6 replies, posted
I'm trying to make a spot in my map where when you press a button an explosive barrel spawns on this pedestal every time you press it. I don't know how to do this and I couldn't find any tutorials on it, so can anyone help? EDIT: My idea's artistic? O_o EDIT2: Keep the artistic ratings coming. I don't know why, but keep doing it. :P
Lol does noone know?
[url]http://halfwit-2.com/?page=tutorials&id=52[/url] Use that tutorial, just change it to what you want.. Basically it tells you how to use a point_template.
Make the explosive oildrum. (prop_physics) Give it a name. Let's use BARREL as an example. Make a point_template. Give it a name. Let's use SPAWNER as an example. Set BARREL as the point_template's Template 01 keyvalue. Make a button. (func_button) These outputs: OnPressed | SPAWNER | ForceSpawn Now it should work.
Thanks. I'll check that out. [editline]03:17PM[/editline] [editline]02:27PM[/editline] ARG I don't have a func_button! [editline]03:16PM[/editline] ARG I don't have a func_button! [editline]03:17PM[/editline] [QUOTE=RayFanMan;17864790]Thanks. I'll check that out. [editline]03:17PM[/editline] [editline]02:27PM[/editline] ARG I don't have a func_button! [editline]03:16PM[/editline] ARG I don't have a func_button![/QUOTE] ARG I don't have a func_button!
make a brush, then select it, on the far right, click move selected to entity, then in the text box type func_button
I figured that out already but thx.
Sorry, you need to Log In to post a reply to this thread.