can anybody tell me if there is a command in scripting that makes random. i want to make an elevator that goes to a random floor waits and goes to a next random floor.
random command?
kamikazee
(kamikazee)
#2
Yes, it does exist. Try
(global)accum <buffer_index> random <value>
Sets the value in 'buffer_index' to a random value between 0 and 'value'.
Taken from Chruker’s game corner: Scripting reference
murka
(murka)
#3
ok i had put some delays with random before target_script_triggers but ok.
now how to make panzers not explode. i want them to move but in the end not explode like in roeltje2 map. i asked that in his forum but seems like nobody has visited it for 2 weeks
kamikazee
(kamikazee)
#4
Never heard of something like that… Take a look in the “common” textureset.
murka
(murka)
#5
needed a shader script called “surfaceparm noimpact”
its from roeltjes new common shaders
Roeltje
(Roeltje)
#6
LoL you could just have asked me
(hehe it took me a while to get that darn shader working
)