Game Modding | Call of Duty: Black Ops 3 | Radiant
ModmeBot:
Thread By: MJPW
Hi there! Im trying to find out how to make the player get tossed back onto the map when they fall off the sides.
Think of it like going down Rainbow Road and falling off the side and being pulled back on.
Thank you!
ModmeBot:
Reply By: ZeRoY
MJPW
Hi there! Im trying to find out how to make the player get tossed back onto the map when they fall off the sides. Think of it like going down Rainbow Road and falling off the side and being pulled back on. Thank you!
ModmeBot:
Reply By: mathfag
Make a trigger_multiple -> targetname = "trig_return_to_map" and place it under the map
and a script_struct -> targetname = "off_map_tp_spot" and place it where you the player teleports
ModmeBot:
Reply By: MJPW
mathfag
Make a trigger_multiple -> targetname = "trig_return_to_map" and place it under the map and a script_struct -> targetname = "off_map_tp_spot" and place it where you the player teleports trig = GetEnt("trig_return_to_map","targetname"); spot = struct::get("off_map_tp_spot", "targetname"); while(1) { trig waittill("trigger", player); player SetOrigin(spot); }