Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
[Clarification] Simple Question(s)
[Clarification] Simple Question(s)
10-11-2007, 12:07 PM
#1
Tide-Arc Ephemera
Alright, as the topic says. Simple question. I haven't had access to WE or WC3 for a long time and won't for a long time. In triggers...
Does dividing by zero cause a crash?
If so, can I be evil and use GetLocalPlayer() to crash specific players?
10-11-2007, 12:27 PM
#2
moyack
It won't cause a crash, but I remember that doing this cause a crash:
local
player
p
=
Player
(-
1
)
10-11-2007, 12:29 PM
#3
Tide-Arc Ephemera
Holy crap! That's the one I've been looking for for AEONS! Oh, and thanks for answering my question.
+Rep
10-11-2007, 01:57 PM
#4
zen87
Add-on
if i remember correctly, it dun crash the game, but crashing the whole function with that call, sort of like calling
function xxx
loop
endloop
endfunction
something like this