Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 5 users and 159 guests online.

Online users

  • GambitUK
  • Captain Kwok
  • StellarRat
  • Santiago
  • OmnusDestoth

Languages

  • English English
  • French French

Browse archives

« Septembre 2008  
Lu Ma Me Je Ve Sa Di
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Home » news » forums » Space Empires V » Space Empires V General

Executing orders inside external event script?

Isopsyco's picture
Submitted by Isopsyco on Wed, 2007-08-29 12:02. Space Empires V General

I have another Idea to close warp points after each turn: I assigned the Stellar Object (Warp Point) with ability type Warp Point-Close.

Inside the External_Event_Script I'm trying to give an order to the warp point (a list of warp points if any exist) and execute close warp point.

How does one call an orders function? The script manual is very vague and gives no syntax on how to call the function. I've looked in example scripts but haven't seen anything to relate to.

Any help?

‹ Shipyard ships Hey Modders ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Mod Designer

Re: Executing orders inside external event script?

Submitted by Fyron on Wed, 2007-08-29 12:18.

I don't think a non-ship object would have the ability to execute any sort of order.


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: Executing orders inside external event script?

Submitted by Captain Kwok on Wed, 2007-08-29 12:18.

You'd use Sys_Give_Space_Object_Order_Any to give a space object an order (ORDER_CLOSE_WP), but I doubt anticipate you can give orders to warp points. Worth a shot.

It'd be more worthwhile to bug MM about activating the stellar manipulation script functions. Sticking out tongue

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments

Re: Executing orders inside external event script?

Submitted by Lord Shleepy on Wed, 2007-08-29 14:00.

The events script already contains a "close warp point" event. Not sure if it is really working at this point, but if all you want to do is close a warp point you could just copy that event and modify it to your liking.

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: Executing orders inside external event script?

Submitted by Captain Kwok on Wed, 2007-08-29 14:13.

He is aware of that, but that script function is not currently implemented, so he is looking for a workaround.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments
Isopsyco's picture
Mod Designer

Re: Executing orders inside external event script?

Submitted by Isopsyco on Wed, 2007-08-29 14:34.

Lord Shleepy wrote:
The events script already contains a "close warp point" event. Not sure if it is really working at this point, but if all you want to do is close a warp point you could just copy that event and modify it to your liking.

I've tried that option several times in different ways, no joy. I'm at the point now that I'm going to see if I can give Warp Points an order (they are space objects after all, and I gave them close warp point ability in steller ability text). Like Captain Kwok said, its worth a try.....

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • Babylon 5 Space Empires V mod?
  • Balance Mod v1.05 Available!
  • Space Empires V
  • Ship Capture Issues
  • Killing crew

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • question about destroying/jettison cargo
  • SE5_20060929-08.jpg
  • Customizable Refits
  • takin a little break
  • No bugs in 1.71 at all?
(c) Strategy First, Inc. All rights reserved.