Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include, plotscr.hsd
- include, pstutor.hsi
- #-----------------------------------------------------
- #this script makes the robot say "Hello World"
- #and then walk three spaces north, then side-to-side
- plotscript, Hello World, begin
- suspend player
- show text box (1)
- wait for text box
- walk hero (me,north,3)
- wait for hero (me)
- walk hero (me,west,1)
- wait for hero (me)
- walk hero (me,east,2)
- wait for hero (me)
- walk hero (me,west,1)
- wait for hero (me)
- set hero direction (me,south)
- resume player
- end
- #-----------------------------------------------------
- #This script makes an NPC do a dance
- plotscript, Robot Dance, who=0, begin
- suspend player
- walk NPC (who,west,1)
- wait for NPC (who)
- walk NPC (who,east,2)
- wait for NPC (who)
- walk NPC (who,west,1)
- wait for NPC (who)
- set NPC direction (who,north)
- wait (4)
- set NPC direction (who,east)
- wait (4)
- set NPC direction (who,south)
- resume player
- end
Add Comment
Please, Sign In to add comment