Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page Execute script file
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

Reply
 
Thread Tools Display Modes
Execute script file
Old
  (#1)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default Execute script file - 11-30-2002, 04:30 PM

Is it possible to execute a script file (scr) when I press a key?

bind m "exec global/script.scr" doesnt work...
  
Reply With Quote
Old
  (#2)
BD is Offline
Senior Member
 
Posts: 201
Join Date: Jul 2002
Location: Toronto, Canada
   
Default 11-30-2002, 04:31 PM

I think you can only execute configs, but I might be wrong.
  
Reply With Quote
Old
  (#3)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default 11-30-2002, 04:35 PM

Yeah that was I thought but maybe theres a way to execute script when the user press a key?
  
Reply With Quote
Old
  (#4)
Surgeon is Offline
Senior Member
 
Posts: 415
Join Date: Apr 2002
Location: Fife, Scotland
   
Default 11-30-2002, 05:19 PM

What exactly are you wanting the script to do ?
  
Reply With Quote
Old
  (#5)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default 11-30-2002, 05:21 PM

I wanna show a message using the iprintln function when the user press a key for example...
  
Reply With Quote
Old
  (#6)
BD is Offline
Senior Member
 
Posts: 201
Join Date: Jul 2002
Location: Toronto, Canada
   
Default 11-30-2002, 11:30 PM

You mean like when you press the key, you say a pre-programmed comment?
  
Reply With Quote
Old
  (#7)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default 12-01-2002, 01:32 AM

Nope first do you know what does the function iprintln do? I dont wanna use the say command...

I want to execute a script when the user press a key...

The message I wanna show is where u can see "A bomb has been planted" in the left part of the screen...
  
Reply With Quote
Old
  (#8)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default 12-01-2002, 09:46 AM

Or is it possible to execute a script when a cvar value has changed?
  
Reply With Quote
Old
  (#9)
Onor_Deception[Sgt] is Offline
Senior Member
 
Posts: 400
Join Date: Jan 2002
Location: USA
   
Default 12-01-2002, 04:27 PM

I would try renaming the scr to cfg. Very wild guess, but whynot try it.
  
Reply With Quote
Old
  (#10)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default 12-01-2002, 06:26 PM

Thats okay someone from TMT answered my question but thanks for the help anyway!
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.