View Full Version : [PYTHON] Simple popup with Input Box + store variable


smartus
May 23, 2007, 06:18 PM
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

ruff_hi
May 25, 2007, 08:38 PM
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.