Me again.
How would I go about making a script that plays "a-bomb ready" and such, whenever a special power is ready? This is so it can be used for powers whose ENUM doesn't normally play a sound when the power is ready.
"Superweapon ready" with scripts
Started by
Guest_ImmoMan_*
, Dec 28 2004 03:03 PM
4 replies to this topic
#1 Guest_ImmoMan_*
Posted 28 December 2004 - 03:03 PM
#2
Posted 28 December 2004 - 04:09 PM
Your best bet would be to use the following script in the PlyrCivilian folder:
Script flags\evaluation: Active, Every second
Active in: Easy, Normal, Hard
***IF***
Player <Local Player> is ready to fire Special power '???'
***THEN***
Play Sound '???'
If this causes the sound only to play for the human player, place the script in all other folders as well (except neutral).
Dunno about the ENUM's but as far as I know a special power is a special power in scripting..
Script flags\evaluation: Active, Every second
Active in: Easy, Normal, Hard
***IF***
Player <Local Player> is ready to fire Special power '???'
***THEN***
Play Sound '???'
If this causes the sound only to play for the human player, place the script in all other folders as well (except neutral).
Dunno about the ENUM's but as far as I know a special power is a special power in scripting..
#3 Guest_ImmoMan_*
Posted 28 December 2004 - 04:13 PM
Well it SHOULD only play for the human player. Specifically, the player whose power has just finished charging. No other players should hear it.
#4
Posted 28 December 2004 - 04:16 PM
^Good point. I do not know if playing a speech file will play it globally among players..
Testing would help.
Testing would help.
#5
Posted 16 January 2005 - 03:07 PM
^Good point. I do not know if playing a speech file will play it globally among players..
Testing would help.
Speech Files are played global... I tested it.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users