[Question] About a script. menu

Shout-Out

User Tag List

Results 1 to 14 of 14
  1. #1
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] About a script.

    Is it possible to make or have a script that opens a door?? like a gameobject, lets say every 5 minutes and then it closes for lik 2 lol?? If so can anoyne tell me how, or if have it please may i get it??+Rep

    [Question] About a script.
  2. #2
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    opening yes, you just set the animation, i dont think you can close it though, correct me if im wrong


  3. #3
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm well, is there a possibility? well what would the script be then even to open it.

  4. #4
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    actually it could be done if you do a gameobject rotation instead of activation, so you could do it with a wall or something like that, the script would be:
    SetFloatValue(GAMEOBJECT_ROTATION,amountf);


  5. #5
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But why a rotation? So it slightly moves and then moves back after like 5 minutes????? Oh that would be a ctually really cool, but wait is that C++ or Lua

  6. #6
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That was C++.

  7. #7
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea, i dont think it can be done in LUA. or if you dont like the rotation idea you could try to do a despawn of the gameobject then respawn


  8. #8
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But only in C++ you can set it to open/close in a regular interval.

  9. #9
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm yea, i figured it was C++ lo lmy bad, but yea about the respawning and despawning wouldnt that like lagg up the server alot? and btw are you really good with c++???

  10. #10
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If done every 5+ minutes, not at all. It's a single GO getting activated and deactivated.

  11. #11
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, so what would the code fro that be??

  12. #12
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but if you have a bunch of them being activated at the same time then there could be trouble


  13. #13
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol i dont think 2-4 is a bunch is it?


    Edit: i would prolly make it different timings then.


    Edit2: SO wait how would the code for that look like?
    Last edited by jokerjokes; 03-19-2008 at 07:42 PM.

  14. #14
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heh forgot to +rep yyou guys before, but done thanks.

Similar Threads

  1. Question about Moon Scripts
    By wside420 in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 07-07-2008, 03:52 AM
  2. Question about Lua scripting
    By bill45 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-13-2008, 02:49 AM
  3. [Question] About a script/macro
    By tonynot in forum World of Warcraft General
    Replies: 0
    Last Post: 04-11-2008, 11:15 PM
  4. [Question]A coupple of questions about compiling scripts
    By Andeby in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-07-2008, 02:24 PM
  5. A simple question about Lua Scripts
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 12-28-2007, 01:57 AM
All times are GMT -5. The time now is 09:06 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search