Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help getting 2 things not to work = MFP entities.
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#2
RE: Help getting 2 things not to work = MFP entities.

I use the cot myself, not showing up. Some digging shows that it has animations.... Which would lead me to believe that the key to fixing it is running one of them.

Names (used in script, found in ModelEditor):
off
on
offtoon
ontooff

So, the animations are run through
PlayPropAnimation(string& asProp, string& asAnimation, float afFadeTime, bool abLoop, string& asCallback);
which you can put in your 'OnEnter'. Also I think that the last two ones 'offtoon' = OFF to ON and 'ontooff' = ON to OFF are transitional animations, meant to be run once when changing the bed from off/on. You can string them together by having the last part of the 'playanimation' command call upon the next animation being played (string& asCallback).

The on and off animation are most likely looped animations.

Good luck!

[Image: mZiYnxe.png]


12-15-2013, 07:49 PM
Find


Messages In This Thread
RE: Help getting 2 things not to work = MFP entities. - by Acies - 12-15-2013, 07:49 PM



Users browsing this thread: 2 Guest(s)