- Joined
- Mar 27, 2012
- Messages
- 3,232
http://www.hiveworkshop.com/forums/general-mapping-tutorials-278/using-chat-commands-34686/
In here they say, that it is not possible to crash the game with adding gold.
However, some things can.
I made an ally trigger that:
Activates if someone says -ally
Check what's after it and then allies, shares vision, shares xp, shares friendly spell targeting. (Not all is needed, but that's how i did)
So if i say -ally 2 then it allies player 2 Blue.
It was only supposed to accept numbers, but i found no way for it to check if something is a number.
I used this trigger in my map until someone said -ally red
The game crashed.
If any non-numerics result in zeros, then i guess it tried to find player 0.
In here they say, that it is not possible to crash the game with adding gold.
However, some things can.
I made an ally trigger that:
Activates if someone says -ally
Check what's after it and then allies, shares vision, shares xp, shares friendly spell targeting. (Not all is needed, but that's how i did)
So if i say -ally 2 then it allies player 2 Blue.
It was only supposed to accept numbers, but i found no way for it to check if something is a number.
I used this trigger in my map until someone said -ally red
The game crashed.
If any non-numerics result in zeros, then i guess it tried to find player 0.