Latest topics
» Help with trigger_usescript
Thu Sep 22, 2016 8:16 am by flanagon

» New Lugormod U# (Windows + Linux)
Thu Sep 22, 2016 7:03 am by Ufo

» Single Round Team Quest
Thu Jul 23, 2015 10:39 pm by agent6141

» iobject terminal
Thu Sep 25, 2014 2:39 pm by flanagon

» Usefull Downloads
Thu Aug 07, 2014 12:35 am by Kimmeh

» Television
Thu Jan 09, 2014 2:25 am by Mr. Swister

» Lugormod U# on server
Wed Jan 08, 2014 11:08 pm by Shadow

» Teleporter with effects
Thu Jan 02, 2014 5:51 am by Pierry

» Some possibly useful addons
Thu Jan 02, 2014 5:50 am by Pierry


Anti-Attack Area

View previous topic View next topic Go down

Anti-Attack Area

Post by Zkyo on Wed Mar 31, 2010 3:24 pm

This will make an area where a person can not take damage, and if any one tries to attack, they will be warped out.

The damage restrict
Code:
/place lmd_restrict 0 maxs,500 500 300,mins,-500 -500 -300,spawnflags,3

The trigger to warp out
Code:
/place trigger_multiple 0 maxs,500 500 300,mins,-500 -500 -300,spawnflags,260,target,dontattack

Warp out
Code:
/place target_teleporter 50 targetname,dontattack

Optional Message
Code:
/place target_print * targetname,dontattack,spawnflags,4,message,^1Don’t Attack In There!

Zkyo
Admin
Admin

Posts : 384
Join date : 2010-03-29
Age : 23
Location : Grand Rapids, Michigan, USA

View user profile http://lugorhelp.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum