{
"_resourceType": "script",
"id": "a02c8ee7-1478-4317-80d7-1c3fc9704e8d",
"name": "Init Weapon Claxon",
"symbol": "script_init_weapon_claxon",
"description": "Inicia el claxon el el player",
"variables": {},
"actors": {},
"script": [
{
"id": "72f90b54-19db-4794-9cdd-e89647b95af0",
"command": "EVENT_SET_INPUT_SCRIPT",
"args": {
"input": [
"a"
]
},
"children": {
"true": [
{
"id": "01db6e87-2f1d-4ba2-9970-5ccba3c03d5a",
"command": "EVENT_SOUND_PLAY_EFFECT",
"args": {
"type": "tone",
"pitch": 6,
"frequency": 500,
"duration": 0.3,
"wait": false
}
},
{
"id": "b5d82058-ed83-492e-ad43-a011d637d9e2",
"command": "EVENT_LAUNCH_PROJECTILE",
"args": {
"spriteSheetId": "1f61030e-42ac-4d0d-ad04-c83ab848a02e",
"actorId": "player",
"direction": "right",
"speed": 3,
"collisionGroup": "1",
"collisionMask": [
"1"
],
"__collapse": false,
"animSpeed": 7,
"lifeTime": 1,
"directionType": "direction",
"angleVariable": "0",
"angle": 0,
"otherActorId": "$self$",
"loopAnim": true,
"destroyOnHit": true
}
}
]
},
"__type": "event"
}
]
}