[PYTHON] Simple popup with Input Box + store variable

smartus

Chieftain
Joined
Jul 15, 2006
Messages
51
Location
Prague, Olomouc, CZE
I'd like to ask the player for a string after the Dawn of Man PopupInfo and store the variable in the savegame, so it will be available through the game.

I tried to popup the window, but no luck ... I think I messed the Events. (Ok, I just don't know how to do it :))

And what about the variable? I've searched the forum, maybe sdToolKit might help?

Thanks for any info, I am python n00b
 
There is a popup box in my mod (see sig). Look in the autolog.py or autologeventmanager.py files.

If you want to store the info - look in the unitnameruff.py file.
 
Top Bottom