Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Shaky Shaky!

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
RedMaverickZero
Three pointed, red disaster!
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 12 Jul 2003
Posts: 1459

PostPosted: Wed Oct 08, 2003 6:42 am    Post subject: Shaky Shaky! Reply with quote

I don't want this topic to be too big as in posts, I just want one simple answer. What is a simple script to write to have the screen shake. For those of you who have actually seen this/ done this, you know what it is I am talking about.
_________________
---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70%
Back to top
View user's profile Send private message Send e-mail AIM Address
Shadowiii
It's been real.




Joined: 14 Feb 2003
Posts: 2460

PostPosted: Wed Oct 08, 2003 7:07 am    Post subject: Reply with quote

Code:
include, plotscr.hsd

define script(autonumber,quake while waiting,1,1)
define script(autonumber,quake while waiting for hero,1,me)
define script(autonumber,quake while waiting for NPC,1,0)

script,quake while waiting,ticks,begin
  variable(i)
  for(i,0,ticks),do,begin
    pan camera(random(0,3),1,random(1,5))
    wait(1)
  end
end

script,quake while waiting for hero,who,begin
  while(hero is walking(who)),do,begin
    pan camera(random(0,3),1,random(1,5))
    wait(1)
  end
end

script,quake while waiting for NPC,who,begin
  while(NPC is walking(who)),do,begin
    pan camera(random(0,3),1,random(1,5))
    wait(1)
  end
end


Sorce: http://moogle1.stormpages.com/pstutor/
_________________
But enough talk, have at you!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group