| Posted by: madmax_the modder - Wednesday, April 21, 2010 9:49:30 AM |
|---|
|
OK i will try and explain this as clearly as i can. I am creating all my own AI scripts for my Generals Mod, and i have come against another obstacle.
The idea is that when a player builds a Naval Factory, they will be informed with a speech file some basic instructions as to relocating the factory etc etc. Now i have no problem at all gettin the speech file to fire where needed. The real problem is that, the speech file is played for *everyone* present in the game.
*** IF ***
[???]'ChinaNavalFactory' has been built by Player 'player0'
*** THEN ***
'CUSTOM_NvFcWarning' plays, allowing overlap FALSE (true to allow, false to disallow).
(this also has entries for each potential player in the game - up to player8)
I have tried using the |