
ricola_reaper
Joined: May 25, 2010
Polygon Pimp
|
Posted: Oct 24, 2010 04:39 AM
Msg. 1 of 6
Everybody loves 'em, everybody loves to push 'em, now lets learn how to make 'em.
I want to learn how to script a button that will work for things like an elevator or to make something disappear, basically with those two in combination i'll be able to do a few things in my map that i want to do and you all get the benefit of pressing shiny things that do stuff. Cant anyone point me in the direction of a how to?
|
|
|

eliteslasher
Joined: Jun 30, 2008
Crysis 3!!!!!!! All I have to say. :D
|
Posted: Oct 24, 2010 04:43 AM
Msg. 2 of 6
You need to talk to peep210. He can tell ya a thing or two about that.
|
|
|

ricola_reaper
Joined: May 25, 2010
Polygon Pimp
|
Posted: Oct 24, 2010 05:15 AM
Msg. 3 of 6
Thank you i'll give him a message but in any case are there other things i could look into?
|
|
|

d4rfnader
Joined: Jul 16, 2010
Open mouth, insert sandwhich.
|
Posted: Oct 24, 2010 06:05 PM
Msg. 4 of 6
(script startup door_open (sleep_until (= (device_get_position devicename) 0)) (device_set_position doorname 1) )
This makes a door open, but the same principles apply with an elevator. Edited by d4rfnader on Oct 24, 2010 at 06:05 PM
|
|
|

ricola_reaper
Joined: May 25, 2010
Polygon Pimp
|
Posted: Oct 24, 2010 11:56 PM
Msg. 5 of 6
well im pretty much a novice at scripting so where would i put this in? im assuming with the elevator tag but thats all i know for now. Would i add it in, in guerrilla?
|
|
|

d4rfnader
Joined: Jul 16, 2010
Open mouth, insert sandwhich.
|
Posted: Oct 25, 2010 12:06 AM
Msg. 6 of 6
|
|
|