03-02-2008, 02:11 PM | #1 |
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
Return flag instantly
Hey, i've tried to create a lua script that will remove and return the flag from the carrier when touching a specific trigger_ff_script, but i've messed up to many times, so im asking this question here instead for some support.
Another Explanation: A pitfall you can accidently fall into contains trigger_hurt at the bottom. After falling into this hole i want the flag to be returned at once without delay time. So you will fall through a brush (trigger_ff_script) before you touch trigger_hurt, this brush will remove the flag from you and return the flag to its original position. Should be fairly simple? but im still a newb lua scripter. |
|
03-02-2008, 03:06 PM | #2 |
A Very Sound Guy!
Fortress Forever Staff
Join Date: May 2005
Location: UK
Posts Rated Helpful 15 Times
|
it is actually really simple :)
Code:
function entity:ontrigger ( trigger_entity ) flag:Return() end |
|
03-08-2008, 12:47 PM | #3 |
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
Sorry for late reply and thank you, seems to work just fine
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|