HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trying to get unit to send a random cinamatic transmission when being clicked on.

06-01-2004, 05:16 PM#1
Strom
I'm trying to get this trigger to work but for somereason when I select the kid only the last else statment works, no matter how many times I click on the kid he only says the last else statement witch is what he should be saying if the (variable) Child_Speech was equal to 3. Now I got this trigger to work fine for when a unit enters a region but for some odd reason it's just not working for when I select the child. Any ideas?




Sincerely,

Strom Stonebeard
06-01-2004, 06:58 PM#2
linkmaster23
There is an easier way to go about this. Just pre-set a String Variable Array, with the comments you wish to say. EX. String[1] = Hi! String[2] = Who? ...etc.

Then, when you run your trigger, just do, Transmission from Kid, String[Random Number between 1 and 3]. Try that, it saves you a lot of triggering and an entire global variable.
06-02-2004, 08:10 AM#3
Strom
Quote:
Originally Posted by linkmaster23
There is an easier way to go about this. Just pre-set a String Variable Array, with the comments you wish to say. EX. String[1] = Hi! String[2] = Who? ...etc.

Then, when you run your trigger, just do, Transmission from Kid, String[Random Number between 1 and 3]. Try that, it saves you a lot of triggering and an entire global variable.

Hmm, I'll try that!

Sincerely,

Strom