egemert35 Posted April 13, 2013 Author Share Posted April 13, 2013 This is possible?I want to add respawn time for my game. Link to comment Share on other sites More sharing options...
troglodite Posted April 13, 2013 Share Posted April 13, 2013 Respawn NPC (when it dies)?Every NPC have a Spawn Time in the NPC Editor Link to comment Share on other sites More sharing options...
egemert35 Posted April 13, 2013 Author Share Posted April 13, 2013 No.When players die.Example: When my character dies, i need to wait x minutes/seconds for respawn.Sorry, my English is bad. Link to comment Share on other sites More sharing options...
Yuko Posted April 13, 2013 Share Posted April 13, 2013 I'm pretty sure it's possible. Contact a developer or research in the forum.I wouldn't know though. Link to comment Share on other sites More sharing options...
Guest Posted April 13, 2013 Share Posted April 13, 2013 > No.> > When players die.> > Example: When my character dies, i need to wait x minutes/seconds for respawn.> > Sorry, my English is bad.1. Comment out the stuff about respawning in the OnDeath sub.2. Create a packet that sends that they died.3. Create a timer that counts down from x seconds.4. If the timer = 0 then send a packet that will cause the player to respawn. Link to comment Share on other sites More sharing options...
zerohero Posted April 13, 2013 Share Posted April 13, 2013 Just add a timer that activates when they die in the game loop then only send the re-spawn command once the timer is up. Simples. Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 13, 2013 Share Posted April 13, 2013 Nice timing guys ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png) Posted it at virtually the same time ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png) Link to comment Share on other sites More sharing options...
egemert35 Posted April 13, 2013 Author Share Posted April 13, 2013 Thanks guys. I'm gonna try. Link to comment Share on other sites More sharing options...
egemert35 Posted April 14, 2013 Author Share Posted April 14, 2013 I found this topic [http://www.touchofdeathforums.com/community/index.php?/topic/122799-eo-20hospital-system/page__hl__hospital](http://www.touchofdeathforums.com/community/index.php?/topic/122799-eo-20hospital-system/page__hl__hospital) and I added to my game but didn't work. ![<_<](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/dry.png) Link to comment Share on other sites More sharing options...
Zopto Posted April 14, 2013 Share Posted April 14, 2013 sec i try itok so just in Client sidefind```Public Enum ServerPackets```below add```hospitalEnter```it works for me Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 14, 2013 Share Posted April 14, 2013 Works for me too with that fix. Link to comment Share on other sites More sharing options...
egemert35 Posted April 14, 2013 Author Share Posted April 14, 2013 Thanks Zopto. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
Zopto Posted April 14, 2013 Share Posted April 14, 2013 Np! Link to comment Share on other sites More sharing options...
egemert35 Posted April 14, 2013 Author Share Posted April 14, 2013 How can i combine frmMain and frmHospital? Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 14, 2013 Share Posted April 14, 2013 You just cut and paste the controls on the frm Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 14, 2013 Share Posted April 14, 2013 Why do you need to combine them? Link to comment Share on other sites More sharing options...
egemert35 Posted April 14, 2013 Author Share Posted April 14, 2013 BecauseWhen I try move in the game, frmhospital timer is resetting.Sorry for my English. ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 15, 2013 Share Posted April 15, 2013 I dont understand? FrmHospital is always showing you mean? send it to back? Link to comment Share on other sites More sharing options...
egemert35 Posted April 15, 2013 Author Share Posted April 15, 2013 "FrmHospital is always showing you mean?"No.When I click anywhere, frmHospital is disappearing.I want to combine both form becausefrmMain Properties;Moveable = TruebutfrmHospital Properties;Moveable = FalseWhen I change the position of the main screen, frmHospital don't change with main screen.![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 15, 2013 Share Posted April 15, 2013 Makes its positition centre to window, there is an option for it in the properties Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now