[TRIGGER] Command Trigger. [UPDATED]
[TRIGGER] Command Trigger. [UPDATED]
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.
Download it through the attachment. Or linky
ComTrigV2.zip
EDIT: Updated. V2.
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.
-
- Posts: 3604
- Joined: 04 Jun 2008, 12:21
- Contact:
-
- Posts: 3604
- Joined: 04 Jun 2008, 12:21
- Contact:
- ~][FGS][Nobody~
- Illuminated
- Posts: 5348
- Joined: 26 Oct 2005, 16:59
- Location: Schland!
Wtf does "(C)~DJ~ 2009-3000" mean? :shock:
Nobody is perfect...
-----------------------
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
-----------------------
ô¿ô¥[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.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!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.
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
- Mastakilla
- !Lysergsäurediethylamid!
- Posts: 1812
- Joined: 27 Jan 2009, 21:01
- Location: 'Ton Hotel
- ~][FGS][Nobody~
- Illuminated
- Posts: 5348
- Joined: 26 Oct 2005, 16:59
- Location: Schland!
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..
or in your case..
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...
-----------------------
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
-----------------------
ô¿ô¥[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.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!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.
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
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..?
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..?
- ~][FGS][Nobody~
- Illuminated
- Posts: 5348
- Joined: 26 Oct 2005, 16:59
- Location: Schland!
Ah, right, no wonder.. you were using names!
var() name Command;
var() name SecondCommand;
Use strings instead.
var() string Command;
var() name Command;
var() name SecondCommand;
Use strings instead.
var() string Command;
Nobody is perfect...
-----------------------
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
-----------------------
ô¿ô¥[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.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!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.
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
- ~][FGS][Nobody~
- Illuminated
- Posts: 5348
- Joined: 26 Oct 2005, 16:59
- Location: Schland!
Lol, no, names are used for something else.
Also, if you don't want it to use set commands you can limit it by checkingg the command property for the "set" keyword.
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...
-----------------------
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
-----------------------
ô¿ô¥[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.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!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.
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!