- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypeDenizen Script
Date2015/10/18 05:04:29 UTC-07:00
ByBlackCoyote
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2300
stationary_cutscene:
  type: task
  debug: false
  script:
    - chunkload add <def[1].get_chunk> duration:<def[4].add[5]||15>s
    - spawn e@pig[has_ai=false] <def[1].as_location> save:pig
    - flag <entry[pig].spawned_entities.get[1]> is_camera
    - look <entry[pig].spawned_entities.get[1]> <def[2].as_location>
    - invisible <entry[pig].spawned_entities.get[1]> state:true
    - define gamemode <def[3].gamemode>
    - adjust %3% spectate:<entry[pig].spawned_entities.get[1]>
    - adjust %3% gamemode:spectator
    - wait <def[4]||10>s
    - adjust %3% spectate:<def[3]>
    - adjust %3% gamemode:%gamemode%
    - remove <entry[pig].spawned_entities.get[1]>
stationary_cutscene_camera_invulnerability:
  type: world
  debug: false
  events:
    on pig damaged:
    - if <context.entity.has_flag[is_camera]> determine cancelled



RawRaw



Pastes made: 57256