Ghostwind
o________o
- Reaction score
- 172
I was wondering if there is a function, or the possibility to create a function, that turns a string into code?
The purpose of this is to allow the user to call jass functions in game, which would be used in a potential RP map I would create if such a function were to exist.
Example: Player 1 types "call CreateUnit(Player(1), 'hfoo', 0.00, 0.00, 0.00)" in game, a footman spawns at 0.00,0.00 for Player 1.
Is this possible to be made? I cannot tell you how useful this would be for me.
The purpose of this is to allow the user to call jass functions in game, which would be used in a potential RP map I would create if such a function were to exist.
Example: Player 1 types "call CreateUnit(Player(1), 'hfoo', 0.00, 0.00, 0.00)" in game, a footman spawns at 0.00,0.00 for Player 1.
Is this possible to be made? I cannot tell you how useful this would be for me.