| 08-04-2004, 09:42 PM | #1 |
Ok, I want it so that if a variable is true, it adds certain things to a text message. Here's what I mean- If player 1 hero's mining status = Lvl 3 Set Variable Recipes3 = True Next Trigger - If player 1 types text message -recipes as an exact match If Recipes 3 = True, Then add this text to text message Recipes Possible? Basically, I want it to add all the level 3 recipes to the origanal recipes list. I'm not sure, so any help appreciates, if not possible, I can just CnP the list to the newer one. But since there are going to be tons of these, it would be better just to add. Thanks! |
| 08-04-2004, 09:46 PM | #2 |
Save the current recipes as a string var (CurRecipes) then when you want add more to it you would go set CurRecipes=CurRecipes+"Blah blah blah" THen when it comes to display them: Display text message CurRecipes Now ofcourse you can only have 2048 characters in a string but I think thats hardly a dangerously low limit. |
| 08-04-2004, 11:26 PM | #3 |
Uhhhhhh, that sounds harder than it would be just to make a trigger for each individual level. But thanks anyway, if there's a less complicated way, I'm still open to ideas, thanks a bunch weaddar (Your rpg system owns.) Thanks |
| 08-04-2004, 11:38 PM | #4 |
you could just do if ( Recipe 3 = true ) Then display (message) for each level |
