April 29, 2024, 05:39:52 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
For WME related articles and tutorials visit
WME Resource Center
.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
sitting down
« previous
next »
Pages: [
1
]
Print
Author
Topic: sitting down (Read 2286 times)
0 Members and 1 Guest are viewing this topic.
fireside
Supporter
Regular poster
Karma: 0
Offline
Posts: 211
sitting down
«
on:
February 17, 2007, 10:02:36 PM »
I was wondering how you would have the actor sit down and stay sitting down until the mouse is clicked using sprites. I know you use PlayAnim(), for the sit down, but then the actor reverts to the stand sprite after the animation is played.
Logged
metamorphium
Global Moderator
Addicted to WME forum
Karma: 12
Offline
Gender:
Posts: 1511
Vampires!
Re: sitting down
«
Reply #1 on:
February 17, 2007, 10:46:00 PM »
simply use either looping animation if your actor needs to perform some sort of idle animation or use the SetSprite() method of the entity in question to assign sitting state until your character needs to perform something else.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
fireside
Supporter
Regular poster
Karma: 0
Offline
Posts: 211
Re: sitting down
«
Reply #2 on:
February 17, 2007, 10:53:17 PM »
Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
sitting down