planting one useable nade
Posted: May 23rd, 2007, 3:48 pm
hi normally on maps without nadejumps the nades are disabeled on the cj-server but i need one nade due to a cool effect
and i want only one nade there and the next respawning only if the trigger isnt moved; is that possible?
before: http://leviathan-design.de/~upload1/shot0066.jpg
nade : http://leviathan-design.de/~upload1/shot0067.jpg
des : http://leviathan-design.de/~upload1/shot0068.jpg
hope someone can help me
and i want only one nade there and the next respawning only if the trigger isnt moved; is that possible?
Code: Select all
floor6_vent_des()
{
des_trig = getent ("floor6_vent_trigger", "targetname");
fd_static = getent ("floor6_vent_static", "targetname");
while(1)
{
des_trig waittill ("damage");
fd_static hide();
des_trig enablelinkto();
des_trig linkto(fd_static);
fd_static moveY (46, 1, 0.5, 0.5);
break;
}
}
before: http://leviathan-design.de/~upload1/shot0066.jpg
nade : http://leviathan-design.de/~upload1/shot0067.jpg
des : http://leviathan-design.de/~upload1/shot0068.jpg
hope someone can help me