The following is the source code:
mob
verb
RunExe()
usr << run("InfantryWarsProgram.exe")
Or am trying to do something that can't be done yet?
ID:148926
![]() Aug 14 2002, 2:06 am
|
|
I am using a verb to run a .exe file using BYOND (I made the .exe file), but it won't run correctly. It works seemingly fine, but it just flickers on and off. It could be the .exe's code, but it works fine when I run it indepentendly.
The following is the source code: mob Or am trying to do something that can't be done yet? |
Maybe its going in a loop
i may be wrong but i think this should do it mob/var/run = 'program.exe' mob/var/running = 0 mob/verb/view_pic(mob/M as mob in view()) if(usr.running == 1) return else running = 1 usr << run(M.run) But this would make it so the user can only run the program once |
mob/var/run = 'program.exe'
mob/verb/view_pic(mob/M as mob in view())
usr << run(M.run)
yeah that works, i used dreamdameon as the program to try to run. It asked me whether i wanted to open dreamdameon.exe also