practical joke

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

practical joke

Post by ViPER »

i want to play a joke on someone.... at his favorite camper spot. but just him.. LOL !!

can i trigger a thread with a specific player name? :twisted:
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

admin scripts?:P
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

well, whats an admin script? i was just going to put it in a map scr
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

doing things via rcon to players as a admin
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

lol done that!!! want to get him automatically!!!!

with me absent LOOOL
WhiteEcko
Lance Corporal
Posts: 21
Joined: Thu Dec 09, 2004 4:28 am

Post by WhiteEcko »

Viper wrote:lol done that!!! want to get him automatically!!!!

with me absent LOOOL
HAHA thats a great idea...

Now if only someone would've thought of this a couple years ago (I knew a couple of players this would've done some good on)...
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

I was thinking something like -

Code: Select all

// wait for trigger
while(1) 
{ 
$mrcamper waittill trigger 
if(local.$client == Vipersfriendsname)
      {
      wait 5
      thread lightningstrikes
      iprint("Vipersfriendname was killed by lightning!! )
      }

Muahahhahahhha LOL
Sooo anybody , can specific clientname be used to trigger event?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

No :(
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

not to trigger one, but is the name in the palyer class?
if($player[local.i].name == "Ownt")
{
thread lightningstrike
}
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

No :(

Only in BT you can use .netname
Image
WhiteEcko
Lance Corporal
Posts: 21
Joined: Thu Dec 09, 2004 4:28 am

Post by WhiteEcko »

jv_map wrote:No :(

Only in BT you can use .netname
So this is possible in Breakthrough?
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

well, if he says so i bet it is.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Yeah, jv's right, as always. ;)

If you guys just took a look at g_allclasses you would know it's impossible.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

If you guys just took a look at g_allclasses you would know it's impossible.
Hmmm. stupid me.... i,ve fooled with that before Rookie, i get nothing. what do i do with g_allclasses? :?
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Look up the player class and see what it's capable of.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply