Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Entity For a certain time  (Read 3106 times)

0 Members and 1 Guest are viewing this topic.

The Man

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 67
    • View Profile
Entity For a certain time
« on: February 02, 2008, 12:31:59 PM »

Is there a way to activate an entity for a few seconds?I want the actor to operate on an entity.After this action,I want an another entity to activate in the scenery,but only for a few seconds...can i make it someway?
Logged

iain

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • View Profile
    • http://ichatburn.co.uk
Re: Entity For a certain time
« Reply #1 on: February 02, 2008, 01:43:47 PM »

You could make it sleep for 2 seconds by adding Sleep(2000); inbetween the active and deactivate code.
Logged

maze

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 59
  • Good news
    • View Profile
Re: Entity For a certain time
« Reply #2 on: February 02, 2008, 02:50:22 PM »

I would use AttachScript and DetachScript
Logged

The Man

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 67
    • View Profile
Re: Entity For a certain time
« Reply #3 on: February 03, 2008, 11:51:22 AM »

I can't use Detachscript,but the sleep method works fine!Thanx...
Logged
 

Page created in 0.066 seconds with 24 queries.