Page 1 of 1

help with give script.

Posted: Sun May 25, 2003 10:53 pm
by king_of_hi_ping
i have started scripting a hot potao mod...

player has a bomb stuck to his head .. and he has one minute to get rid of it ..to anothre player ..

thought i could glue a trigger to the local.bombguy and he would run to another player and that playerewould then trigger another script ..

problem is since the give trigger is glued to the local.bomb guy .. he will always be the one to set it off ... i tried to write a if or ealse for the triggger but still no luck ...

the script says if local.bombguy.(little more here forget) go to give.. so it just loops and wont go to the ealse.


is there a way to bind the trigger to front of the player so basicly it is not touching him .. but is simply in front. im new to binding and have not had much luck with it ...

any help here would be great ...
thanks

Posted: Mon May 26, 2003 9:01 am
by jv_map
I think you need six triggers per player (one on each side), so that the player isn't touching it.

Posted: Mon May 26, 2003 10:54 pm
by king_of_hi_ping
thinking he just needs one in the front .. maybe on the two sides.... but how would i make them so they dont touch him ... bind ... ?? again im new to bind .. and so far it wont work for me .. everything gets left behind or shifted... is there an example or tut on it ..

thanks

Posted: Tue May 27, 2003 10:08 am
by jv_map
I think you have to glue a script_origin to the player, then bind the triggers to that origin.