scripts in maps
-
- 1000+ Posts
- Posts: 1086
- Joined: Mon Feb 27, 2012 11:08 am
scripts in maps
how do i import/export scripts in/from maps?
-
- Site Admin
- Posts: 4390
- Joined: Fri Apr 09, 2010 3:20 pm
- Location: United States
Re: scripts in maps
Really? Wtf are you talking about?
-
- 1000+ Posts
- Posts: 1086
- Joined: Mon Feb 27, 2012 11:08 am
Re: scripts in maps
i want to exec a script when people go to an particular point in the map. the script is written but how to i import it in the map?
-
- Site Admin
- Posts: 4390
- Joined: Fri Apr 09, 2010 3:20 pm
- Location: United States
Re: scripts in maps
You dont exec scripts in a map. You would have to add all those entities into the map and have triggers run them they like they would in the script.[GR]doodleninja wrote:i want to exec a script when people go to an particular point in the map. the script is written but how to i import it in the map?
-
- 1000+ Posts
- Posts: 1086
- Joined: Mon Feb 27, 2012 11:08 am
Re: scripts in maps
ok. btw, you told me once, when i asked you on your yt video how do you can destroy a building with an explosion, you said it needs more power than mine has. How much power do you need, and what do you need for this. ( like on the buddhakiller, that only propane tank can kill buddha)
-
- Server Admin
- Posts: 2417
- Joined: Sun Apr 11, 2010 4:50 am
Re: scripts in maps
phys_convert, a trigger. Oh, and you should know how to script, that might be the problem.[GR]doodleninja wrote:ok. btw, you told me once, when i asked you on your yt video how do you can destroy a building with an explosion, you said it needs more power than mine has. How much power do you need, and what do you need for this. ( like on the buddhakiller, that only propane tank can kill buddha)
Ingame: -[SaD]- Nico
-
- 1000+ Posts
- Posts: 1086
- Joined: Mon Feb 27, 2012 11:08 am
Re: scripts in maps
teach me
Re: scripts in maps
As I said you in steam, don't try to run scripts in your map.[GR]doodleninja wrote:teach me
-
- 1000+ Posts
- Posts: 1280
- Joined: Fri Sep 03, 2010 8:51 pm
Re: scripts in maps
If you mean run cfg scripts, you can use point_clientcommand to execute the script and include the cfg with your map if you upload it anywhere. Can't remember if it allows the exec command or not.
Spoiler
Show
Saying "Your lucky i'm peaceful" is pretty much like saying "when i grow up i wanna be an arms race!"-HL2shadowslayer, Area 51 Minecraft
Re: scripts in maps
Useless. Using point_servercommand to exec cfg script will just make a big mess. No, just use this entity for gravity traps.shadowslayer wrote:If you mean run cfg scripts, you can use point_clientcommand to execute the script and include the cfg with your map if you upload it anywhere. Can't remember if it allows the exec command or not.
And you don't use point_servercommand to run a script. You use a trigger and a logic_relay. I have already done that before.