Remember me
You are here: HomeForumCyberix3D ForumExamplesSimple Spawn
Welcome, Guest
Username: Password: Remember me

TOPIC: Simple Spawn

Simple Spawn 6 years 11 months ago #1188

  • ViraX
  • ViraX's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 154
  • Thank you received: 119
Hi,

(This topic will be improved, later, waiting ...)

PostScriptum, there are several solutions for several problems .. ;)

here is a solution, to create a "simple spawn" in "pseudo-code" :
this script allow spawn a model above the "blockA"
<var n = 0>

<blockA>
   set static = 1
   set collision = 1
   <loop>
      <if key 'E' is pressed>
         <wait 0.25>
            <your_model>
               set static = 0
               set collision = 1
               set posX = blockA.x
               set posY = blockA.y + 100
               set posZ = blockA.z
               <increment n += 1>
            <your_model>
         <end wait>
      <end if>
   <loop>
<blockA>

<label>
   <loop>
      set text = n
   <loop>
<label>
The administrator has disabled public write access.
Time to create page: 0.102 seconds