how to make char. clime a ledder?

Started by dikla, Fri 28/05/2004 14:52:21

Previous topic - Next topic

dikla

just as the topic said. if is MoveCharacter to hotspot above the ledder will it work? shall i do something with the ledder (its an object?) i want my char. to clime the ledder and pick something like fruit from a tree.
dikla

Mr Jake

you need to make an animation I think :/

Make the animation of the character climbing the ladder, place an object over the ladder on screen and have it animate when you use the ladder.

..

Just animate the character climbing the ladder, picking the fruit and then climbing back down :P

Ben

It's "climb" and "ladder," by the way...

Skio

You can also create a view of the character climbing and assign a new walkable area to the ladder with the climbing view (you can choose the view in the area's properties).

You will have ofcourse to experiment a bit with the area so that the character is synchronized.
Î'νδρων Επιφανων Πασα Î"η ΤαφοÏ,

dikla

ladder. of coure. i am very proud of myself because i made 2 animation (1 for up and 1 for down) and i also removed my character from the room (because it will be stupid of my character to see himself going up... ha ha ha). now she is climing up and down BUT
1. i want her to be delayed at the top of the ladder, say you got it, when the "hand" (interact) touching  display
"you reach it but it too small", wait a little and only than get down.
2. after she to down, she has to be her own herself again, and i didnt find stutable command.
here is the script:

// script for hotspot10: Use inventory on hotspot
if (character[GetPlayerCharacter()].activeinv == 31) {
LoseInventory (31);   
ObjectOn (1);// the ladder


SetCharacterTransparency(DEBBY,100);// debby disapear

SetObjectView (1,12);//

AnimateObject (1,0,9,0);// she clime up

Display ("You got it!");// here i want her to stay a little

SetObjectView (1,13);

AnimateObject (1,0,9,0);//going down (very quickly. you dont even see that she is climing up) just down.

AddInventory (31);//to try another tree

//here i am missing her come back.


}
THX
dikla

Hollister Man

Sorry if I sound mean, but could you try to finish your words, and maybe re-read it before you post?Ã,  I am very confused looking at this, it's pretty hard to read.

Quote
i also removed my character from the room (because it will be stupid of my character to see himself going up... ha ha ha
...

i want her to be delayed at the top of the ladder, say you got it, when the "hand" (interact) touchingÃ,  display
"you reach it but it too small", wait a little and only than get down.

Is the character changing from male to female, or are there two characters?Ã, 
That's like looking through a microscope at a bacterial culture and seeing a THOUSAND DANCING HAMSTERS!

Your whole planet is gonna blow up!  Your whole DAMN planet...

dikla

well, my character is a women. i need to slow down the climbing and the getting down. if you can see from this script of mine, it happans very quickly, (i guess because the two animations are very close to each other) and all you can see is her going down. than, while animate the first view, my character disapear(as she should be), and after she go down i want her character to REAPEAR, and i dont know the right command.
to sum it up:
1. i need a break between  the 2 animations.
2. i want my character to reapear.
thx dikla :-* :-*

Scorpiorus

You have to block the script while the object is animating. SetCharacerTransparency(xxx, 0) will make DEBBY visible:

// script for hotspot10: Use inventory on hotspot
if (character[GetPlayerCharacter()].activeinv == 31) {
LoseInventory (31);   
ObjectOn (1);// the ladder


SetCharacterTransparency(DEBBY,100);// debby disapear

SetObjectView (1,12);//

AnimateObject (1,0,9,0);// she clime up
while (IsObjectAnimating(1)) Wait(1); //wait for animation to be finished

Display ("You got it!");// here i want her to stay a little

SetObjectView (1,13);

AnimateObject (1,0,9,0);//going down (very quickly. you dont even see that she is climing up) just down.
while (IsObjectAnimating(1)) Wait(1); //wait for animation to be finished

AddInventory (31);//to try another tree

SetCharacterTransparency(DEBBY,0);// passing 0 for DEBBY to appear

//here i am missing her come back.


}

dikla

My dear, i could kiss you. as i said you are miracl worker. it work perfectly. i tried it myself but it didnt work and now it is working. you must admit i am prograssing in scripting. i am very glad you help me. thank you!.
dikla

Scorpiorus

Hehe, you're welcome. Scripting is not that difficult as one may think.

SMF spam blocked by CleanTalk