ななついろさん向け
共通ステータス確認用Pythonスクリプトです
#LAYOUT
import vrmapi
def vrmevent(obj,ev,param):
if ev == 'init':
obj.SetEventKeyDown('Z',101)
elif ev == 'broadcast':
dummy = 1
elif ev == 'timer':
dummy = 1
elif ev == 'time':
dummy = 1
elif ev == 'after':
dummy = 1
elif ev == 'frame':
dummy = 1
elif ev == 'keydown':
if param['eventUID'] == 101:
t = obj.GetStatusDataInt("key")
vrmapi.LOG(t)