Jump to content

How to use 'Playgroup' in a script.


SGTbayk47

Recommended Posts

Hey everyone,


I'm currently trying to add a script to an electrical switch, 'ElectricalSwitch02' in the GECK, which causes the switching animation to play when the player activates it. Note that I have made my own switch, but it uses the model of the original switch. From previewing the switch, I can see the animation I need to use is called 'Open'.


This is where my problem is though, because when I write 'playgroup open' in my script, it refuses to save. I am using GECK Powerup, and this is the message that pops up when trying to save;


http://i.imgur.com/JJyOh9D.jpg


If anyone knows how to get this working it would be appreciated,


Thanks in advance,


Bayk.

Link to comment
Share on other sites

You need to name groups after existing ones. I think you need certain ones first.

 

First, you need an idle, and iirc, it needs to be looping. This is for when it hasn't been activated.

 

The activated animation needs to be either forward or backward. I don't recall which was supposed to be first.

 

If you have 7 animations and an idle, they need to be forward, backward, left, right, fastleft, fastright, and fast forward. Anything past that I don't know because I've never needed that many.

 

Edit: at least that's how it works for anim statics. I don't know how the vanilla one would'be been using a group named open.

Edited by uhmattbravo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...