• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Physics

Status
Not open for further replies.
Level 4
Joined
Oct 24, 2008
Messages
64
How do i do all that physics stuff you know like a spell hits a unit he flys a few hundred metres into the air and lands maybe even with a bounce im hopeing lol more like praying that i can do it using normal triggers either way i need to know how the new game im working on :) is a harry potter rpg and alot of the spells i intend to put in rely on that i can make something fly into the air.
Eg: expeliarmus (need to learn how to spell it XD)

Whoever gives me the first usful reply i will put in my credits
 
Level 9
Joined
Apr 3, 2008
Messages
700
You can move the target unit of ability being cast by loop:
Code:
local integer i=0
loop
set i=i+1
Unit - Move *********************************
Wait *** seconds
exitwhen i==***
endloop

Fleight height can be changed by action:
  • Animation - Change (unit) flying height to *** at ***
 
Status
Not open for further replies.
Top