target_give -1 reply

  • 1
  • 2

Please wait...

Xono

Australia's only good mapper!!

50 XP

20th March 2004

0 Uploads

18 Posts

0 Threads

#1 14 years ago

OK, people are probably going to go nuts at me for asking this, but if I want to make it so that when a person goes through a door, they get some items (shield, health, weapons, etc..), how do I do this? According to everything I've read, target_give can do this, but everything i've read only contains instructions on how to start people off with items:( . I tried creating a trigger_multiple, and linking this to the target_give, but it's still not working. And before you all go nuts at me, yes, I did link the target_give to the items i want the player to recieve :) .




moberemk

Just a guy who likes to help.

50 XP

1st December 2003

0 Uploads

1,285 Posts

0 Threads

#2 14 years ago

Well, if you look at the target_give help info, you will find that by linking items to that entitiy and liking it to a trigger is how it works.




Xono

Australia's only good mapper!!

50 XP

20th March 2004

0 Uploads

18 Posts

0 Threads

#3 14 years ago

Actually I was under the impression that that's what I did: linked the target_give to the items, and a trigger_multiple to the target_give. Am I missing anything?




moberemk

Just a guy who likes to help.

50 XP

1st December 2003

0 Uploads

1,285 Posts

0 Threads

#4 14 years ago

Well, no, unless you plan to give the player access to an infinite health supply. With it linked to a trigger_multiple, it will be a gift that keeps on giving. And if you have no Count value, then it's worse! You could just stand there for a second and you would be recharged!




Xono

Australia's only good mapper!!

50 XP

20th March 2004

0 Uploads

18 Posts

0 Threads

#5 14 years ago

OK, well that wasn't exactly what my question was about (and in case you're wondering, yes, my intent is to give the player access to an infinite health supply, at least in this one specific area). My problem is that when the character walks through the trigger_multiple, nothing happens, but if everything i've read is right, it should. What have I left out?




GothiX

No Time to Cry

50 XP

18th September 2003

0 Uploads

1,290 Posts

0 Threads

#6 14 years ago

I have heard stuff about target_give being bugged, tho I can't recall where and by who it was said. I'll look into it for you.

[edit]Just what I thought, coming from the GTK developers: The target_give can only be linked to a spawnpoint, and is not designed to work with triggers. In other words: It's used to give a player specific weapons on a map, if the map was designed for such weapons. Q3A Rocket Arena would be an example that comes to mind.[/edit]




Xono

Australia's only good mapper!!

50 XP

20th March 2004

0 Uploads

18 Posts

0 Threads

#7 14 years ago

Damn, just what I was afraid of... Is there any other way, any loopholes that can be used to achieve the same results?




GothiX

No Time to Cry

50 XP

18th September 2003

0 Uploads

1,290 Posts

0 Threads

#8 14 years ago

Set the "wait" value on a medpack to "1", that'll give about infinite health.




MeusH

°•°•°•°•°•°•°•°•°

50 XP

16th November 2003

0 Uploads

3,282 Posts

0 Threads

#9 14 years ago

Or make a script. I'm not sure if this kind of scripts would work in MP... but try!




GothiX

No Time to Cry

50 XP

18th September 2003

0 Uploads

1,290 Posts

0 Threads

#10 14 years ago

They won't work in MP, I've tried.




  • 1
  • 2