[TRIGGER] Command Trigger. [UPDATED]

Multiplayer Modifications
User avatar
~DJ~
Teh 1337'
Teh 1337'
Posts: 2608
Joined: 29 Jun 2008, 13:18

[TRIGGER] Command Trigger. [UPDATED]

Post by ~DJ~ »

Hello there. After some hours of no internet, or shall i say a Day.. i made a mod. Please check it out, rate it. Thanks. :D

Download it through the attachment. Or linky

ComTrigV2.zip

EDIT: Updated. V2.
You do not have the required permissions to view the files attached to this post.
Last edited by ~DJ~ on 14 Feb 2009, 19:52, edited 2 times in total.
~[FGS]SaSQuATcH~
Posts: 3604
Joined: 04 Jun 2008, 12:21
Contact:

Post by ~[FGS]SaSQuATcH~ »

What exactly does this mod do?
User avatar
~DJ~
Teh 1337'
Teh 1337'
Posts: 2608
Joined: 29 Jun 2008, 13:18

Post by ~DJ~ »

READ the README..

It executes command to player when the player reaches the trigger's radius..
Last edited by ~DJ~ on 20 Apr 2011, 10:22, edited 1 time in total.
~[FGS]SaSQuATcH~
Posts: 3604
Joined: 04 Jun 2008, 12:21
Contact:

Post by ~[FGS]SaSQuATcH~ »

You may understand that I'm not downloading anything until I know what it is :]
User avatar
Kuchcik
Teh gravn00b
Teh gravn00b
Posts: 2622
Joined: 25 Oct 2006, 20:42
Location: central europe shithole

Post by Kuchcik »

~DJ~ wrote:READ the README..

It executes command to player when the player reaches the trigger's radius.. ufff...
isn't that possible already?
User avatar
~DJ~
Teh 1337'
Teh 1337'
Posts: 2608
Joined: 29 Jun 2008, 13:18

Post by ~DJ~ »

A Command with trigger?

before posting, give me some proof and stuff.
User avatar
~][FGS][Nobody~
Illuminated
Illuminated
Posts: 5348
Joined: 26 Oct 2005, 16:59
Location: Schland!

Post by ~][FGS][Nobody~ »

Wtf does "(C)~DJ~ 2009-3000" mean? :shock:
Nobody is perfect...
-----------------------
ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
Magus wrote:Maybe one day I will understand your arcane rituals of voting :)
chin.democ. wrote:You can use light bulbs that emit light, and when shot, do not.
synthetic wrote:and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
User avatar
Mastakilla
!Lysergsäurediethylamid!
!Lysergsäurediethylamid!
Posts: 1812
Joined: 27 Jan 2009, 21:01
Location: 'Ton Hotel

Post by Mastakilla »

Means we can upload it as our very own in the year 3000! HURAY!
Image
User avatar
~DJ~
Teh 1337'
Teh 1337'
Posts: 2608
Joined: 29 Jun 2008, 13:18

Post by ~DJ~ »

YAH.

IT HAS COPYRIGHTS TILL 3000.

bwhahahahahah!
User avatar
~][FGS][Nobody~
Illuminated
Illuminated
Posts: 5348
Joined: 26 Oct 2005, 16:59
Location: Schland!

Post by ~][FGS][Nobody~ »

I'm still wondering, why that second command thing is required... :?


If you want to execute a console command, you could just pass the content of the "command" property to the console command function..


something like..

Code: Select all

function Trigger(Actor other..... )
{
      if(other != none)
      {   
          Other.ConsoleCommand(command);
      }
}

or in your case..

Code: Select all

function Touch(Actor instigator..... )
{
      if(instigator != none)
      {   
          instigator.ConsoleCommand(command);
      }
}
Nobody is perfect...
-----------------------
ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
Magus wrote:Maybe one day I will understand your arcane rituals of voting :)
chin.democ. wrote:You can use light bulbs that emit light, and when shot, do not.
synthetic wrote:and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
User avatar
~DJ~
Teh 1337'
Teh 1337'
Posts: 2608
Joined: 29 Jun 2008, 13:18

Post by ~DJ~ »

You cant put something like that.. i mean.. Try it yourself. Type BehindView 1 in command, and than you'll see it will automaticly do it 1, we cant use spaces..


EDIT:

FOR MOAR CORRECTIONS. i really meant was,

Go to UnrealEd, place it on some map, goto default properties>CommandTrig and then type BehindView 1 in command, and tell me, it automaticly changes to BehindView, doesnt it..?
User avatar
~][FGS][Nobody~
Illuminated
Illuminated
Posts: 5348
Joined: 26 Oct 2005, 16:59
Location: Schland!

Post by ~][FGS][Nobody~ »

Ah, right, no wonder.. you were using names! :-D

var() name Command;
var() name SecondCommand;

Use strings instead. :-)


var() string Command;
Nobody is perfect...
-----------------------
ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
Magus wrote:Maybe one day I will understand your arcane rituals of voting :)
chin.democ. wrote:You can use light bulbs that emit light, and when shot, do not.
synthetic wrote:and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
User avatar
~DJ~
Teh 1337'
Teh 1337'
Posts: 2608
Joined: 29 Jun 2008, 13:18

Post by ~DJ~ »

I Dont want "set" commands.. w00t.

Or yet, i can make a V2. but i thought strings are used for something else...

o_____________o
User avatar
~][FGS][Nobody~
Illuminated
Illuminated
Posts: 5348
Joined: 26 Oct 2005, 16:59
Location: Schland!

Post by ~][FGS][Nobody~ »

Lol, no, names are used for something else. :D
Also, if you don't want it to use set commands you can limit it by checkingg the command property for the "set" keyword.
Nobody is perfect...
-----------------------
ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
Magus wrote:Maybe one day I will understand your arcane rituals of voting :)
chin.democ. wrote:You can use light bulbs that emit light, and when shot, do not.
synthetic wrote:and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
User avatar
~DJ~
Teh 1337'
Teh 1337'
Posts: 2608
Joined: 29 Jun 2008, 13:18

Post by ~DJ~ »

Name are used for numbers and a one word thing right.. o_o


THINK i might make a V2, BUT SIR I AINT GIVING CREDITS IT WAS ALREADY IN MA MINDS.

HayHAYHayHAYHhaYHAYHAYHAY
Post Reply