Need help with rotating script.
Moderator: Core Staff
I only know a way to do it if they all do the same thing. Maybe Drofder can help, as I don't know if/how you can make an array with things doing differen't things.
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php
Post the script
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php
Full:
as you can tell vents is the second vent.
Code: Select all
main()
{
maps\mp\_load::main();
thread vent();
}
vent()
{
vent = getent ("vent","targetname");
vent_trig = getent ("vent_trig","targetname");
while (1.5)
{
vent_trig waittill ("trigger");
vent rotateto ((0, 0, 170), 1.5); //this will rotate 170 degrees on the y axis in 1.5 second
}
}
vents()
{
vents = getent ("vents","targetname");
vents_trig = getent ("vents_trig","targetname");
while (1.5)
{
vents_trig waittill ("trigger");
vents rotateto ((0, 0, 90), 1.5); //this will rotate 90 degrees on the y axis in 1.5 second
}
}
JDogg: 'I have a video of me pissing, wanna see?'
Code: Select all
main()
{
maps\mp\_load::main();
thread vent();
thread vents();
}
vent()
{
vent = getent ("vent","targetname");
vent_trig = getent ("vent_trig","targetname");
while(1)
{
vent_trig waittill ("trigger");
vent rotateto ((0, 0, 170), 1.5); //this will rotate 170 degrees on the z axis in 1.5 second
}
}
vents()
{
vents = getent ("vents","targetname");
vents_trig = getent ("vents_trig","targetname");
while(1)
{
vents_trig waittill ("trigger");
vents rotateto ((0, 0, 90), 1.5); //this will rotate 90 degrees on the z axis in 1.5 second
}
}
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php
-
- Core Staff
- Posts: 2214
- Joined: February 6th, 2006, 3:18 pm
- Location: Germany/Bayern
text to the user or text like position saved?
THAT HANDS WERE NOT TRACED!
visit my blog: Link
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality
-
- Core Staff
- Posts: 2214
- Joined: February 6th, 2006, 3:18 pm
- Location: Germany/Bayern
when for that u need to use a variable to get the user who enabled the trigger
u should use that example
Code: Select all
yourtrigger waittill ("trigger",user);
user iprintlnbold ("Your text");
THAT HANDS WERE NOT TRACED!
visit my blog: Link
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality
-
- Core Staff
- Posts: 2214
- Joined: February 6th, 2006, 3:18 pm
- Location: Germany/Bayern
http://codjumper.com/forums/viewtopic.php?t=4774
have a look at this - nightmare made this tutorial for me and it works 100% for cod2
have a look at this - nightmare made this tutorial for me and it works 100% for cod2
THAT HANDS WERE NOT TRACED!
visit my blog: Link
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality
I am always willing to make tutorials, just ask.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
could you make a tutorial or something for some water feature, like a fountain (because my map contains like a little park thing)
EDIT:
Im up to the part where you set the values in the csv and im totally lost how do i do this?
EDIT:
Lev!athan wrote:http://codjumper.com/forums/viewtopic.php?t=4774
have a look at this - nightmare made this tutorial for me and it works 100% for cod2
Im up to the part where you set the values in the csv and im totally lost how do i do this?
JDogg: 'I have a video of me pissing, wanna see?'
Who is online
Users browsing this forum: No registered users and 37 guests