A BOX DROPPED IN YOUR HEAD

Post your scripting questions / solutions here

Moderator: Moderators

User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

seems to me that you are not useing the right targetname . Make sure that switch is the targetname of your trigger or change switch to the correct targetname .
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

script

Post by tltrude »

I think he is saying the script does not run with the trigger line as it is. It is not a good idea to use a scripting command word as a targetname. So, change the trigger's targetname (in the script and the map) to "switch1".

Just before you test the map, type "logfile 1" in the console. Then, after testing, post the text from main/qconsole.log here.
Tom Trude,

Image
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

"all the governments in the world are corrupt and in the hands of the Illuminati"
User avatar
GARRAPIGNADO
Corporal
Posts: 49
Joined: Mon Aug 09, 2004 5:43 pm
Contact:

Post by GARRAPIGNADO »

Oh, thanks Hogleg, it's very nice.

Trude, I didn't know that trigger was an special word. It's logic that I couldn't use it as targetname.

I'll try with another targetname first. If that works, I'll include the hurting as Hogleg told.

Thanks again! :D
CLAN LA COMPAÑIA (ESPAÑA)
www.clanlacompania.com

Image

MAPPING SECTION ;)
User avatar
GARRAPIGNADO
Corporal
Posts: 49
Joined: Mon Aug 09, 2004 5:43 pm
Contact:

Post by GARRAPIGNADO »

IT WORKS!!!!!!!!!!!!!!!!!!!!!!!! :D :D :D

EUREKAAA

Good: I changed the targetname to "interruptor", that's the meaning of switch in Spanish, jejejejeejejej.

So, the box makes noise!!!!!

Now I'm going to try the hurt! :D
CLAN LA COMPAÑIA (ESPAÑA)
www.clanlacompania.com

Image

MAPPING SECTION ;)
User avatar
GARRAPIGNADO
Corporal
Posts: 49
Joined: Mon Aug 09, 2004 5:43 pm
Contact:

Post by GARRAPIGNADO »

I tried the hurt. With the line "$box explode 100", I keep the box in my head with 1 health, jejejeje. So, I gave it explode 200, and I die!!!!

Thanks all of you. Now, I can make some other things (the next is to use the Trude's bombing map to learn about it!)

Thansk again! :D :D :D :D :D :D
CLAN LA COMPAÑIA (ESPAÑA)
www.clanlacompania.com

Image

MAPPING SECTION ;)
Post Reply