How can I block passages and make Dink turn around and say something?
Place something to block the passage or the door or whatever it is, such as a table (pick something that’s just the right size). Use SHIFT-5 to set the script on this thing (I usually name mine BLOCKER or BLOCKER1 or something). Now, you need to CLIP the sprite away to nothing (sometimes making it invisible using the 2 option will cause it not to run the script correctly, so I just clip them). To clip, simply grab the table (or whatever), hold the X or Z key down, and start pressing the arrow keys to clip it away to nothing. Now that you’ve created the blocker sprite (and it’s not visible on the screen any longer) you need to write the script to control making Dink move and talk when it’s touched. Begin the BLOCKER.C script like this: void main(void) { sp_touch_damage(¤t_sprite, -1); } This will cause the sprite’s touch script to be called if Dink runs into it. Now, simply add code for this touch function: void touch(void) { //Prevent the player from being able to control Dink fo
Related Questions
- How do I turn off the annoying Internet Explorer security warning that keeps asking me if I want to view or block insecure items?
- If I block my opponents attack then play Laundry Room, my opponent can played blocks from his hand next turn, right?
- How can I block passages and make Dink turn around and say something?