You are not logged in.
Adding objects requires more than BSL modding.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Yes, I know. I wanted to say that if the object is not present, the computer creates it. more precisely, I thought teleportation some hypos in the field, if the player collects and therefore are no longer in the field at the end of the round, the computer creates another hypo
Press here >>http://www.myPlugoo.com/5PFFKSWC00BKE0D<< for chat with me
Offline
Using obj_create?
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
no,i don't search a command,but a "supposition":
if "the hypo doesn't exist in field"
{
powerup_spawn hypo
}
Press here >>http://www.myPlugoo.com/5PFFKSWC00BKE0D<< for chat with me
Offline
That needs a flag for where to spawn it, for one. Flags are annoying. If you take a screenshot of the area I can find you the proper flag.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
yes,i know. i know my flag : are the 0055 and 0056, but the problem is this:
if "the hypo doesn't exist in field"
what is the command for that?
Last edited by Dr.Karluzz (05/29/09 13:05)
Press here >>http://www.myPlugoo.com/5PFFKSWC00BKE0D<< for chat with me
Offline
Nothing cares about whether a powerup exist or not. You just spawn (powerup_spawn) or reset (powerup_reset) them.
It's possible to create a more or less good workaround but (in my opinion) it's too much work for resetting only one.
You would need to establish a "trigger volume". It's linked to an BSL function which contains chr_wait_animtype 0 Pickup_Object. But powerups can also picked up with rolls, slides, and from crouch position...
Last edited by paradox-01 (05/29/09 15:05)
Offline
ok,can you create an example please?
Press here >>http://www.myPlugoo.com/5PFFKSWC00BKE0D<< for chat with me
Offline
powerup_spawn
powerup_spawn hypo 55
powerup_spawn hypo 56
is all you need.
Indeed, paradox, there isn't a good way to detect picked up stuff. The original training level has a bug where the last room will completely screw up if you do a slide pickup on the rifle.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Training mission cannot be completed. >_< Shinatama forgets to give me ammo!
Offline