Raised This Month: $ Target: $400
 0% 

A way to reset my map, or the entities


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arphenius
Junior Member
Join Date: Jan 2009
Old 01-14-2009 , 10:18   Re: A way to reset my map, or the entities
Reply With Quote #1

Quote:
Originally Posted by SnoW View Post
You should edit your old message, you weren't allowed to bump. -/
Sorry, I looked at the FAQ and didn't found about bumping. Now, I know I can't bump. Thanks

Quote:
Originally Posted by SnoW View Post
You made a map, and you wanna fix it with a plugin? Wouldn't it be little smarter to fix the map? I mean I have seen pretty many working maps, so I think you can get it working as well.
Well, my map is like a deathrun map, but the traps activate automatically, no player is needed. The problem is, when a player die because of a trap (let's say a pendulum perpendicular to the ground, rotating 90º, and then back, in a perpendicular-paralel movement; the player gets compressed by the pendulum), the trap gets stuck, it do not move the way it should be moving. I don't know a way to reset the entities every round only using the mapping program, I only know how to stop the movement each round, and then activate it again, but this affect the pendulum, making it lose energy.

The way I found to fix this is by script, but I don't know how to do this.

Quote:
Originally Posted by YamiKaitou
Just from this statement I can tell you didn't even look. I will provide you 2 links that show all AMXX functions.

Function Wiki
SVN of 1.8.1 scripting/includes folder
Hey, I searched, but only searched this forum, don't remembered of AMXX site, sorry. And thanks =)


---------
I looked at the functions, and what I can say is by script, the entities are only invisible, like 3d boxes with nothing inside, this is true? And how do I work with an entity created in the map? In my case, I have some entities created with the mapping program, and I only need the script reset them (or deleting and then adding again). How can I do this?

Thank you all.
Arphenius is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode