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

Moving slices

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Buni Pickney
Bear Chess World Champion




Joined: 13 Jul 2007
Posts: 11

PostPosted: Mon Jan 11, 2010 12:58 pm    Post subject: Moving slices Reply with quote

Like everyone else, I have a slice question. Happy So I've seen games where slices seem to move around pretty smoothly, but when I tried to move slices in my own game (specifically using set slice screen x) they instantaneously moved. I'm pretty sure that's how it's supposed to work, but is there any plotscript command that moves slices a certain distance like you can move NPCs? Thanks in advance!
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Mon Jan 11, 2010 1:03 pm    Post subject: Reply with quote

Nope. You probably want a for loop.

Code:

variable(x)
for(x, 0, 99), do(
  set slice screen x(sl, x)
  wait(1)
)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Buni Pickney
Bear Chess World Champion




Joined: 13 Jul 2007
Posts: 11

PostPosted: Mon Jan 11, 2010 2:33 pm    Post subject: Reply with quote

All right, that makes sense. Thanks!
Back to top
View user's profile Send private message
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