| 11-28-2008, 07:49 AM | #1 |
I'm trying to make a new attribute that will affect the summons of a unit - charisma - and I'm also trying to create some kind of a database with the base charisma a unit type has . Any ideas how to do it ? |
| 11-28-2008, 08:33 AM | #2 |
Well, you're not going to be able to show it on the command-card. The best you can do is floating text, a buff, or even a player-specific multiboard that shows the charisma of the currently selected unit. You could use the units' custom values to store Charisma, or you could store the charisma with some indexing system such as PUI or Table, or store it in a struct. Though I wouldn't suggest it, you could even attach it using something like KaTTaNa's Local Handle Variables. Do you know any JASS at all? It's almost a must for this. |
| 11-28-2008, 08:37 AM | #3 | |
Why not simply creating a integer variable? Increase it as the charisma level increases and show it in a multiboard. Quote:
Hmm... I think pyro said enough, but maybe you could even try to store it in the game cache as variables, dunno. |
| 11-28-2008, 10:21 AM | #4 |
Yes , I know Jass and still learning more . I haven't tried with PUI ot Table but I will .(I already have a multiboard for that) |
